CVE-2026-53962

Discourse: Insufficient SVG sanitization logic

State
Published
Severity
5.4 Medium
Published
Jul 9, 2026
Updated
Jul 10, 2026
Reserved
Jun 11, 2026

Read the record on cve.org

Description

Discourse is an open-source discussion platform. Prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5, insufficient SVG sanitization in upload and user avatar handling could lead to cross-site scripting when a user visited specific URLs that are not normally part of community browsing. This issue is fixed in versions 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.

Scores

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

Weaknesses

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

Affected Products

ProductVersions
discoursediscourse
  • >= 2026.1.0-latest, < 2026.1.5Affected
  • >= 2026.4.0-latest, < 2026.4.2Affected
  • >= 2026.5.0-latest, < 2026.5.1Affected

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.