Server-side Request Forgery (SSRF) Affecting flarum/core package, versions <1.8.16>=2.0.0-beta.1, <2.0.0-rc.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-FLARUMCORE-16301637
  • published27 Apr 2026
  • disclosed22 Apr 2026
  • creditUnknown

Introduced: 22 Apr 2026

CVE-2026-41887  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade flarum/core to version 1.8.16, 2.0.0-rc.1 or higher.

Overview

flarum/core is a simple discussion platform for your website.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the interpolation of unvalidated LESS config variables during CSS compilation. An attacker can access arbitrary files on the server or initiate outbound HTTP(S) requests by injecting malicious @import directives into theme color settings. This is only exploitable if the attacker has administrator privileges.

Workaround

This vulnerability can be mitigated by protecting administrator accounts with strong, unique passwords, enabling two-factor authentication where supported, restricting administrator access to trusted users, and reviewing the public CSS output for unexpected content.

CVSS Base Scores

version 4.0
version 3.1