CVE-2026-41887
Last modified
CVE-2026-41887 is a medium-severity vulnerability rated 4.9/10 on the CVSS scale. Flarum is open-source forum software. Prior to versions 1.8.16 and 2.0.0-rc.1, Flarum's patch for CVE-2023-27577 restricted the @import and data-uri() LESS features in the custom_less setting, but the same restriction was never applied to other settings registered as LESS config variables (for example theme_primary_color and theme_secondary_color, as well as any key registered via Extend\Settings::registerLessConfigVar()). EPSS estimates a 0.40% chance of exploitation in the next 30 days.
Description
Flarum is open-source forum software. Prior to versions 1.8.16 and 2.0.0-rc.1, Flarum's patch for CVE-2023-27577 restricted the @import and data-uri() LESS features in the custom_less setting, but the same restriction was never applied to other settings registered as LESS config variables (for example theme_primary_color and theme_secondary_color, as well as any key registered via Extend\Settings::registerLessConfigVar()). Those values are interpolated verbatim into the LESS source at compile time, allowing an authenticated administrator to craft a theme-color value that injects an arbitrary @import directive into the compiled forum.css. Because the underlying LESS parser honours @import (inline) '<path>', an attacker can read arbitrary files reachable by the PHP process (local file inclusion) or trigger outbound HTTP(S) requests (server-side request forgery). This issue has been patched in versions 1.8.16 and 2.0.0-rc.1.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-41887?
How severe is CVE-2026-41887?
How do I fix CVE-2026-41887?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-4188A security flaw has been discovered in D-Link DIR-619L 2.06B…8.8
- CVE-2026-41880R-SOFT DMS is vulnerable to OS Command Injection in the Opti…9
- CVE-2026-41882In JetBrains IntelliJ IDEA before 2024.3.7.1, 2025.1.7.1, 2…7.5
- CVE-2026-41883OmniFaces is a utility library for Faces. Prior to versions …8.1
- CVE-2026-41885i18next-locize-backend is a simple i18next backend for lociz…6.5
- CVE-2026-41886locize is a localization platform that connects code and i18…7.5
- CVE-2026-41888Distribution is a toolkit to pack, ship, store, and deliver …6.5
- CVE-2026-41889pgx is a PostgreSQL driver and toolkit for Go. Prior to vers…9.8
- CVE-2026-4189A weakness has been identified in phpipam up to 1.7.4. The i…4.7
- CVE-2026-41890CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a …6.9
- CVE-2026-41891CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a …5.3
- CVE-2026-41893Signal K Server is a server application that runs on a centr…7.5
Are you affected by CVE-2026-41887?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
