{"id":"CVE-2026-53962","state":"PUBLISHED","title":"Discourse: Insufficient SVG sanitization logic","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.","publishedAt":"2026-07-09T22:02:27.430Z","updatedAt":"2026-07-10T20:31:50.782Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["discourse discourse"],"affected":[{"vendor":"discourse","product":"discourse","versions":[{"version":">= 2026.1.0-latest, < 2026.1.5","status":"affected"},{"version":">= 2026.4.0-latest, < 2026.4.2","status":"affected"},{"version":">= 2026.5.0-latest, < 2026.5.1","status":"affected"}]}],"references":["https://github.com/discourse/discourse/security/advisories/GHSA-jmcf-3367-78vv","https://github.com/discourse/discourse/commit/3ee8343cd7f00d59d8513bee0a12e02d50bfc358","https://github.com/discourse/discourse/commit/810c2715799fd08b06fd6ffc664d9562fe9ea6ff","https://github.com/discourse/discourse/commit/92a699d89b84685b6fdd63cd0d0e371793c69dad","https://github.com/discourse/discourse/commit/b8ceb49f4ba52257be30eb3c2ce51a5bf03be5fe","https://github.com/discourse/discourse/releases/tag/v2026.1.5","https://github.com/discourse/discourse/releases/tag/v2026.4.2","https://github.com/discourse/discourse/releases/tag/v2026.5.1","https://github.com/discourse/discourse/releases/tag/v2026.6.0"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53962.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53962","state":"PUBLISHED","datePublished":"2026-07-09T22:02:27.430Z","dateUpdated":"2026-07-10T20:31:50.782Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-11T15:50:01.282Z"},"containers":{"cna":{"title":"Discourse: Insufficient SVG sanitization logic","descriptions":[{"lang":"en","value":"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":[{"vendor":"discourse","product":"discourse","versions":[{"version":">= 2026.1.0-latest, < 2026.1.5","status":"affected"},{"version":">= 2026.4.0-latest, < 2026.4.2","status":"affected"},{"version":">= 2026.5.0-latest, < 2026.5.1","status":"affected"}]}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-jmcf-3367-78vv","name":"https://github.com/discourse/discourse/security/advisories/GHSA-jmcf-3367-78vv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse/commit/3ee8343cd7f00d59d8513bee0a12e02d50bfc358","name":"https://github.com/discourse/discourse/commit/3ee8343cd7f00d59d8513bee0a12e02d50bfc358","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse/commit/810c2715799fd08b06fd6ffc664d9562fe9ea6ff","name":"https://github.com/discourse/discourse/commit/810c2715799fd08b06fd6ffc664d9562fe9ea6ff","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse/commit/92a699d89b84685b6fdd63cd0d0e371793c69dad","name":"https://github.com/discourse/discourse/commit/92a699d89b84685b6fdd63cd0d0e371793c69dad","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse/commit/b8ceb49f4ba52257be30eb3c2ce51a5bf03be5fe","name":"https://github.com/discourse/discourse/commit/b8ceb49f4ba52257be30eb3c2ce51a5bf03be5fe","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse/releases/tag/v2026.1.5","name":"https://github.com/discourse/discourse/releases/tag/v2026.1.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse/releases/tag/v2026.4.2","name":"https://github.com/discourse/discourse/releases/tag/v2026.4.2","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse/releases/tag/v2026.5.1","name":"https://github.com/discourse/discourse/releases/tag/v2026.5.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse/releases/tag/v2026.6.0","name":"https://github.com/discourse/discourse/releases/tag/v2026.6.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-09T22:02:27.430Z"},"source":{"advisory":"GHSA-jmcf-3367-78vv","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-10T19:13:14.855663Z","id":"CVE-2026-53962","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-10T20:31:50.782Z"}}]}}}