Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. flarum/core
  4. ›
  5. CVE-2022-41938

CVE-2022-41938: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

November 19, 2022 (updated November 26, 2022)

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.

References

  • discuss.flarum.org/d/27558
  • github.com/advisories/GHSA-7x4w-j98p-854x
  • github.com/flarum/framework/commit/690de9ce0ffe7ac4d45b73e303f44340c3433138
  • github.com/flarum/framework/security/advisories/GHSA-7x4w-j98p-854x
  • nvd.nist.gov/vuln/detail/CVE-2022-41938

Code Behaviors & Features

Detect and mitigate CVE-2022-41938 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.5.0 before 1.6.2

Fixed versions

  • 1.6.2

Solution

Upgrade to version 1.6.2 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/flarum/core/CVE-2022-41938.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:27 +0000.