Discourse: Insufficient SVG sanitization logic
Summary
| CVE | CVE-2026-53962 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-09 22:17:05 UTC |
| Updated | 2026-07-10 21:16:55 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.4 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS: 0.002640000 probability, percentile 0.178890000 (date 2026-07-10)
Problem Types: CWE-79 | CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
RequiredScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/discourse/discourse/security/advisories/GHSA-jmcf-3367-78vv | [email protected] | github.com | |
| github.com/discourse/discourse/commit/92a699d89b84685b6fdd63cd0d0e371793... | [email protected] | github.com | |
| github.com/discourse/discourse/releases/tag/v2026.5.1 | [email protected] | github.com | |
| github.com/discourse/discourse/commit/b8ceb49f4ba52257be30eb3c2ce51a5bf0... | [email protected] | github.com | |
| github.com/discourse/discourse/releases/tag/v2026.6.0 | [email protected] | github.com | |
| github.com/discourse/discourse/commit/810c2715799fd08b06fd6ffc664d9562fe... | [email protected] | github.com | |
| github.com/discourse/discourse/commit/3ee8343cd7f00d59d8513bee0a12e02d50... | [email protected] | github.com | |
| github.com/discourse/discourse/releases/tag/v2026.1.5 | [email protected] | github.com | |
| github.com/discourse/discourse/releases/tag/v2026.4.2 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.