Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Discourse | Discourse | < 3.0.1 |
Related Weaknesses (CWE)
References
- https://github.com/discourse/discourse/commit/1a5a6f66cb821ed29a737311d6fdc2eba5Patch
- https://github.com/discourse/discourse/commit/c186a46910431020e8efc425dec2133e7aPatch
- https://github.com/discourse/discourse/pull/20008Patch
- https://github.com/discourse/discourse/pull/20009Patch
- https://github.com/discourse/discourse/security/advisories/GHSA-7pm2-prxw-wrvpVendor Advisory
- https://github.com/discourse/discourse/commit/1a5a6f66cb821ed29a737311d6fdc2eba5Patch
- https://github.com/discourse/discourse/commit/c186a46910431020e8efc425dec2133e7aPatch
- https://github.com/discourse/discourse/pull/20008Patch
- https://github.com/discourse/discourse/pull/20009Patch
- https://github.com/discourse/discourse/security/advisories/GHSA-7pm2-prxw-wrvpVendor Advisory
FAQ
What is CVE-2023-25172?
CVE-2023-25172 is a vulnerability with a CVSS score of 4.4 (MEDIUM). 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 inclu...
How severe is CVE-2023-25172?
CVE-2023-25172 has been rated MEDIUM with a CVSS base score of 4.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-25172?
Check the references section above for vendor advisories and patch information. Affected products include: Discourse Discourse.