Medium severity4.4NVD Advisory· Published Mar 17, 2023· Updated Jun 17, 2026
CVE-2023-25172
CVE-2023-25172
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
6cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:*+ 4 more
- cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:*range: <3.1.0
- cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:*range: <3.0.1
- cpe:2.3:a:discourse:discourse:3.1.0:beta1:*:*:beta:*:*:*
- (no CPE)range: <3.0.1 (stable), <3.1.0.beta2 (beta, tests-passed)
- (no CPE)range: stable < 3.0.1
Patches
Vulnerability mechanics
References
5- github.com/discourse/discourse/commit/1a5a6f66cb821ed29a737311d6fdc2eba5adc915nvdPatch
- github.com/discourse/discourse/commit/c186a46910431020e8efc425dec2133e7a99fa9anvdPatch
- github.com/discourse/discourse/pull/20008nvdPatch
- github.com/discourse/discourse/pull/20009nvdPatch
- github.com/discourse/discourse/security/advisories/GHSA-7pm2-prxw-wrvpnvdVendor Advisory
News mentions
0No linked articles in our index yet.