{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-30538","published":"2023-04-18T22:15:08.130000Z","last_modified":"2026-06-17T05:54:58.467000Z","status":"Modified","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:*","part":"a","vendor":"discourse","product":"discourse","version_end_including":"3.0.2"},{"criteria":"cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:*","part":"a","vendor":"discourse","product":"discourse","version_end_excluding":"3.1.0"},{"criteria":"cpe:2.3:a:discourse:discourse:3.1.0:beta1:*:*:beta:*:*:*","part":"a","vendor":"discourse","product":"discourse","version":"3.1.0"},{"criteria":"cpe:2.3:a:discourse:discourse:3.1.0:beta2:*:*:beta:*:*:*","part":"a","vendor":"discourse","product":"discourse","version":"3.1.0"},{"criteria":"cpe:2.3:a:discourse:discourse:3.1.0:beta3:*:*:beta:*:*:*","part":"a","vendor":"discourse","product":"discourse","version":"3.1.0"}],"cpes_truncated":false,"vendors":["discourse"],"products":["discourse/discourse"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.00479,"percentile":0.33813,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2023-30538/","html_en":"/en/cve/CVE-2023-30538/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-30538","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-30538"},"untrusted":{"vendor_name":"Discourse","product_name":"Discourse","desc_en":"Discourse is an open source platform for community discussion. Due to the improper sanitization of SVG files, an attacker can execute arbitrary JavaScript on the users’ browsers by uploading a crafted SVG file. This issue is patched in the latest stable and tests-passed versions of Discourse. Users are advised to upgrade. For users unable to upgrade there are two possible workarounds: enable CDN handing of uploads (and ensure the CDN sanitizes SVG files) or disable SVG file uploads by ensuring that the `authorized extensions` site setting does not include `svg` (or reset that setting to the default, by default Discourse doesn't enable SVG uploads by users).","affected":[{"untrusted_vendor":"discourse","untrusted_product":"discourse","versions":[]}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-w5mv-4pjf-xj43","tags":["Mitigation","Third Party Advisory"]}]}}