CVE-2022-41938
MEDIUM 5.4CVSS 3.1Cross site scripting vulnerability with discussion titles
Flarum is an open source discussion platform. Flarum's page title system allowed for page titles to be converted into HTML DOM nodes when pages were rendered. The change was made after v1.5 and was not noticed. This allowed an attacker to inject malicious HTML markup using a discussion title input, either by creating a new discussion or renaming one. The XSS attack occurs after a visitor opens the relevant discussion page. All communities running Flarum from v1.5.0 to v1.6.1 are impacted. The vulnerability has been fixed and published as flarum/core v1.6.2. All communities running Flarum from v1.5.0 to v1.6.1 have to upgrade as soon as possible to v1.6.2. There are no known workarounds for this issue.
- Published
- 19 Nov 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-7x4w-j98p-854x
- Sources
- NVDJSONOSV GHSA-7x4w-j98p-854xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | flarum | flarumcpe:2.3:a:flarum:flarum:*:*:*:*:*:*:*:* |
>= 1.5.0, < 1.6.2 | 1.6.2 |
| OSV | Packagist | flarum/core | >= 1.5.0, < 1.6.2 | 1.6.2 |
References
- https://discuss.flarum.org/d/27558 · Vendor Advisory, WEB
- https://github.com/flarum/framework/commit/690de9ce0ffe7ac4d45b73e303f44340c3433138 · Patch, Third Party Advisory, WEB
- https://github.com/flarum/framework/security/advisories/GHSA-7x4w-j98p-854x · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-41938 · ADVISORY
- https://github.com/flarum/framework · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 19 Nov 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 21 Nov 2022)