CVE-2024-53266

Cross-site Scripting (XSS) via topic titles when CSP disabled in Discourse

State
Published
Severity
4.3 Medium
Published
Feb 4, 2025
Updated
Feb 4, 2025
Reserved
Nov 19, 2024

Read the record on cve.org

Description

Discourse is an open source platform for community discussion. In affected versions with some combinations of plugins, and with CSP disabled, activity streams in the user's profile page may be vulnerable to XSS. This has been patched in the latest version of Discourse core. Users are advised to upgrade. Users unable to upgrade should ensure CSP is enabled.

Scores

CVSSScoreVectorSource
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NGitHub_M

Weaknesses

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

Affected Products

ProductVersions
discoursediscourse
  • stable: < 3.3.3Affected
  • tests-passed: < 3.4.0.beta4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.