{"id":"CVE-2026-53962","summary":"Discourse: Insufficient SVG sanitization logic","details":"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.","aliases":["BIT-discourse-2026-53962","GHSA-jmcf-3367-78vv"],"modified":"2026-07-16T03:48:42.118164519Z","published":"2026-07-09T22:02:27.430Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53962.json"},"references":[{"type":"WEB","url":"https://github.com/discourse/discourse/releases/tag/v2026.1.5"},{"type":"WEB","url":"https://github.com/discourse/discourse/releases/tag/v2026.4.2"},{"type":"WEB","url":"https://github.com/discourse/discourse/releases/tag/v2026.5.1"},{"type":"WEB","url":"https://github.com/discourse/discourse/releases/tag/v2026.6.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53962.json"},{"type":"ADVISORY","url":"https://github.com/discourse/discourse/security/advisories/GHSA-jmcf-3367-78vv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53962"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/3ee8343cd7f00d59d8513bee0a12e02d50bfc358"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/810c2715799fd08b06fd6ffc664d9562fe9ea6ff"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/92a699d89b84685b6fdd63cd0d0e371793c69dad"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/b8ceb49f4ba52257be30eb3c2ce51a5bf03be5fe"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/discourse/discourse","events":[{"introduced":"322d3c0ac6a8f133b3f82875e9dbbe310f638c1b"},{"fixed":"c06899647d758493d95a5b301e573ffa3db1e878"},{"introduced":"fdd750d960e603415db62242eca3c30d68e366db"},{"fixed":"4bbdddfc6700ca23604242111d4fa0e00347af97"},{"introduced":"640840d818f4ee9375829ece0ef452923bb0c012"},{"fixed":"598586ccf2e046a25d4b54132e4e1feb47f24e98"},{"introduced":"06d03da34c4ed09ea59f917f045ba250d2b6320d"},{"fixed":"3ee8343cd7f00d59d8513bee0a12e02d50bfc358"},{"fixed":"810c2715799fd08b06fd6ffc664d9562fe9ea6ff"},{"fixed":"92a699d89b84685b6fdd63cd0d0e371793c69dad"},{"fixed":"b8ceb49f4ba52257be30eb3c2ce51a5bf03be5fe"},{"fixed":"06d03da34c4ed09ea59f917f045ba250d2b6320d"}],"database_specific":{"cpe":["cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*","cpe:2.3:a:discourse:discourse:2026.6.0:*:*:*:latest:*:*:*"],"extracted_events":[{"introduced":"2026.1.0"},{"fixed":"2026.1.5"},{"introduced":"2026.4.0"},{"fixed":"2026.4.2"},{"introduced":"2026.5.0"},{"fixed":"2026.5.1"},{"introduced":"2026.6.0"},{"last_affected":"2026.6.0"}],"source":["CPE_RANGE","CPE_STRING","REFERENCES"]}}],"versions":["2026.6.0","v2026.5.0","v2026.6.0-latest","v2026.1.4","v2026.4.1","v2026.5.0-latest.1","v2026.4.0","v2026.5.0-latest","v2026.1.3","v2026.4.0-latest","v2026.1.2","v2026.1.1","v2026.1.0","stable","esr","v2026.1.0-latest"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53962.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}