CVE-2023-25172
MEDIUM5.4EPSS 0.77%Discourse vulnerable to Cross-site Scripting - user name displayed on post
發布日:2024/3/6修改日:2025/10/15
描述
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.
受影響套件(1)
- Bitnami/discoursefrom 0, < 3.1.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
參考連結(6)
- WEBhttps://github.com/discourse/discourse/commit/1a5a6f66cb821ed29a737311d6fdc2eba5adc915
- WEBhttps://github.com/discourse/discourse/commit/c186a46910431020e8efc425dec2133e7a99fa9a
- WEBhttps://github.com/discourse/discourse/pull/20008
- WEBhttps://github.com/discourse/discourse/pull/20009
- WEBhttps://github.com/discourse/discourse/security/advisories/GHSA-7pm2-prxw-wrvp
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2023-25172