原始描述
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.
受影响的软件
- Discourse *= 3.1.0< 3.1.0< 3.0.1 修复版本: 3.1.0, 3.0.1 仓库或软件包匹配
详情
- 发布日期
- 2023-03-17
- 最后修改
- 2026-06-17
- CVSS 向量
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N- CWE
- CWE-79
- EPSS(30 天内被利用概率)
- 0.53% (百分位 45)
参考资料
- cve.org/CVE-2023-25172
- nvd.nist.gov/vuln/detail/CVE-2023-25172
- github.com/discourse/discourse/commit/1a5a6f66cb821ed29a737311d6fdc2eba5adc915
- github.com/discourse/discourse/commit/c186a46910431020e8efc425dec2133e7a99fa9a
- github.com/discourse/discourse/pull/20008
- github.com/discourse/discourse/pull/20009
- github.com/discourse/discourse/security/advisories/GHSA-7pm2-prxw-wrvp
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。