CVE-2026-53962 PUBLISHED

Discourse: Insufficient SVG sanitization logic

Assigner: GitHub_M
Reserved: 11.06.2026 Published: 09.07.2026 Updated: 09.07.2026

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.

Metrics

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

Product Status

Vendor discourse
Product discourse
Versions
  • Version >= 2026.1.0-latest, < 2026.1.5 is affected
  • Version >= 2026.4.0-latest, < 2026.4.2 is affected
  • Version >= 2026.5.0-latest, < 2026.5.1 is affected

References

Problem Types

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