CVE-2023-25172
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…
Does this matter?
Lower severity and a low EPSS score (0.53%). Track it; it rarely justifies an emergency change on its own.
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 3.1
- 5.4 MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 0.53% probability · 43th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- discourse/discourse
- Source
- security-advisories@github.com
References
- https://github.com/discourse/discourse/commit/1a5a6f66cb821ed29a737311d6fdc2eba5adc915Patch
- https://github.com/discourse/discourse/commit/c186a46910431020e8efc425dec2133e7a99fa9aPatch
- 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/1a5a6f66cb821ed29a737311d6fdc2eba5adc915Patch
- https://github.com/discourse/discourse/commit/c186a46910431020e8efc425dec2133e7a99fa9aPatch
- 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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.