CVE-2026-53962: Discourse: Insufficient SVG sanitization logic

Published Jul 9, 2026
·
Updated

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.

Affected Software

5 affected components
Discourse<2026.6.0, <2026.5.1, <2026.4.2, <2026.1.5
Discourse Discourse>=2026.1.0<2026.1.5
Discourse Discourse>=2026.4.0<2026.4.2
Discourse Discourse>=2026.5.0<2026.5.1
Discourse Discourse=2026.6.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2026.6.0
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2026.5.1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2026.4.2
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2026.1.5

Event History

Jul 9, 2026
CVE Published
via MITRE·10:02 PM
Data Sourced
via MITRE·10:02 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 PM
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-2026-53962?

The severity of CVE-2026-53962 is medium with a score of 5.4.

2

What type of vulnerability is CVE-2026-53962?

CVE-2026-53962 is a cross-site scripting (XSS) vulnerability due to insufficient SVG sanitization.

3

How does CVE-2026-53962 affect Discourse users?

CVE-2026-53962 can lead to cross-site scripting attacks when users visit specific URLs not commonly browsed.

4

How do I fix CVE-2026-53962?

To fix CVE-2026-53962, upgrade Discourse to versions 2026.6.0, 2026.5.1, 2026.4.2, or 2026.1.5.

5

When was CVE-2026-53962 published?

CVE-2026-53962 was published on July 9, 2026.

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