Skip to content

CVE-2022-41938 Cross site scripting vulnerability with discussion titles in flarum

MediumCVSS 5.4 EPSS 0.91%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
PHP

Description

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
flarum/core(Packagist) = v1.5.0; = v1.6.0; = v1.6.1; >= 1.5.0, < 1.6.2 1.6.2 Fixed
flarum/flarum >= 1.5.0, < 1.6.2 1.6.2 Fixed
flarum framework = >= 1.5.0, < 1.6.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
flarum/core(Packagist) >= 1.5.0, < 1.6.2 1.6.2
flarum/core(Packagist) = v1.5.0 No fix listed
flarum/core(Packagist) = v1.6.0 No fix listed
flarum/core(Packagist) = v1.6.1 No fix listed
flarum framework = >= 1.5.0, < 1.6.2 No fix listed
flarum/flarum >= 1.5.0, < 1.6.2 1.6.2

References