Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
5.4
CVE-2026-53962: Discourse image upload can run hidden scripts
CVE-2026-53962 · published 3 months ago
Summary
Older versions of the Discourse forum software could let specially crafted SVG images execute code when someone views them, potentially stealing data or hijacking sessions. This risk is removed in the latest releases. Update Discourse to the newest version as soon as possible to protect your community.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| discourse | discourse | >= 2026.1.0-latest, < 2026.1.5 |
Original advisory text
Discourse: Insufficient SVG sanitization logic
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.
References
- https://github.com/discourse/discourse/releases/tag/v2026.1.5 URL
- https://github.com/discourse/discourse/releases/tag/v2026.4.2 URL
- https://github.com/discourse/discourse/releases/tag/v2026.5.1 URL
- https://github.com/discourse/discourse/releases/tag/v2026.6.0 URL
- https://github.com/discourse/discourse/security/advisories/GHSA-jmcf-3367-78vv Vendor Advisory
- https://github.com/discourse/discourse/commit/3ee8343cd7f00d59d8513bee0a12e02d50... Patch
- https://github.com/discourse/discourse/commit/810c2715799fd08b06fd6ffc664d9562fe... Patch
- https://github.com/discourse/discourse/commit/92a699d89b84685b6fdd63cd0d0e371793... Patch
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53962... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-53962 Vendor Advisory
- https://github.com/discourse/discourse/commit/b8ceb49f4ba52257be30eb3c2ce51a5bf0... Patch
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published9 Jul 2026
Updated4 Nov 2026
First seen9 Jul 2026
Track software like this
Free during beta