{"id":"CVE-2022-41938","published":"2022-11-19T00:00:00Z","modified":"2025-04-23T16:36:43Z","title":"Cross site scripting vulnerability with discussion titles in flarum","vendor":"flarum","product":"framework","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00905,"percentile":0.60682,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/flarum/framework/security/advisories/GHSA-7x4w-j98p-854x","tags":[]},{"url":"https://github.com/flarum/framework/commit/690de9ce0ffe7ac4d45b73e303f44340c3433138","tags":[]},{"url":"https://discuss.flarum.org/d/27558","tags":[]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":12.14},{"name":"CVSS severity","points":6.3}]},"vendorSlug":"flarum","affectedVersions":[{"vendor":"flarum","product":"framework","versions":[">= 1.5.0, < 1.6.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-23T15:46:38.149371Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"flarum/core","vulnerableRanges":[">=1.5.0, <1.6.2"],"patched":["1.6.2"],"from":["GHSA-7x4w-j98p-854x"],"provenance":"source"}],"summary":{"text":"Flarum's page title system, in the framework product, converted discussion titles into HTML DOM nodes during page rendering, a change made after v1.5 that went unnoticed. An attacker with low privileges who can create or rename a discussion can inject malicious HTML that executes when a visitor, after user interaction, opens that discussion page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:50Z"},"euvd":{"id":"EUVD-2022-7273","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-32671","published":"2021-06-07","fixed":"1.0.2","kev":false},{"cve":"CVE-2022-41938","published":"2022-11-19","fixed":"1.6.2","kev":false},{"cve":"CVE-2023-22488","published":"2023-01-12","fixed":"1.6.3","kev":false,"link":{"from":"CVE-2022-41938","to":"CVE-2023-22488","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:flarum/core","fromFixed":"1.6.2","toFixed":"1.6.3","daysApart":54}]}},{"cve":"CVE-2023-22489","published":"2023-01-13","fixed":"1.6.3","kev":false,"link":{"from":"CVE-2022-41938","to":"CVE-2023-22489","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:flarum/core","fromFixed":"1.6.2","toFixed":"1.6.3","daysApart":55}]}},{"cve":"CVE-2023-27577","published":"2023-03-10","fixed":"1.7.0","kev":false}],"package":"Packagist:flarum/core"}}