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

Published Nov 19, 2022
·
Updated

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.

Affected Software

1 affected component
Flarum Flarum>=1.5.0<1.6.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade flarum/core to a version that resolves this vulnerability.

    Fixed in v1.6.2

Event History

Nov 19, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-41938?

CVE-2022-41938 has a moderate severity rating due to its potential for cross-site scripting (XSS) attacks.

2

How do I fix CVE-2022-41938?

To fix CVE-2022-41938, update your Flarum installation to version 1.6.2 or later.

3

What software is affected by CVE-2022-41938?

CVE-2022-41938 affects Flarum versions from 1.5.0 up to, but not including, 1.6.2.

4

What is the nature of the vulnerability in CVE-2022-41938?

CVE-2022-41938 allows attackers to inject malicious HTML through the page title system.

5

Can CVE-2022-41938 be exploited remotely?

Yes, an attacker can exploit CVE-2022-41938 remotely if they can manipulate the page titles of the affected Flarum installations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203