{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-25172","published":"2023-03-17T17:15:11.423000Z","last_modified":"2026-06-17T05:40:50.257000Z","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_excluding":"3.0.1"},{"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"}],"cpes_truncated":false,"vendors":["discourse"],"products":["discourse/discourse"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00666,"percentile":0.46839,"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-25172/","html_en":"/en/cve/CVE-2023-25172/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-25172","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-25172"},"untrusted":{"vendor_name":"Discourse","product_name":"Discourse","desc_en":"Discourse is an open-source discussion platform. Prior to version 3.0.1 of the `stable` branch and version 3.1.0.beta2 of the `beta` and `tests-passed` branches, a maliciously crafted URL can be included in a user's full name field to to carry out cross-site scripting attacks on sites with a disabled or overly permissive CSP (Content Security Policy). Discourse's default CSP prevents this vulnerability. The vulnerability is patched in version 3.0.1 of the `stable` branch and version 3.1.0.beta2 of the `beta` and `tests-passed` branches. As a workaround, enable and/or restore your site's CSP to the default one provided with Discourse.","affected":[{"untrusted_vendor":"discourse","untrusted_product":"discourse","versions":[]}],"references":[{"url":"https://github.com/discourse/discourse/commit/1a5a6f66cb821ed29a737311d6fdc2eba5adc915","tags":["Patch"]},{"url":"https://github.com/discourse/discourse/commit/c186a46910431020e8efc425dec2133e7a99fa9a","tags":["Patch"]},{"url":"https://github.com/discourse/discourse/pull/20008","tags":["Patch"]},{"url":"https://github.com/discourse/discourse/pull/20009","tags":["Patch"]},{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-7pm2-prxw-wrvp","tags":["Vendor Advisory"]}]}}