XSS in Discourse
CVE-2026-72725
Discourse is an open-source discussion platform. Prior to 2026.1.6, the staff action log model rendered unescaped previous and new value fields that could inject stored cross-site scripting into the staff interface. The issue is fixed in 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.003, 22.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Discourse — versions < 2026.1.6, >= 2026.5.0, < 2026.5.2, >= 2026.6.0, < 2026.6.1
Weakness classification (CWE)
References
- https://github.com/discourse/discourse/commit/66601a6e6eeeabfcb06d2f692d68534be12de082
- https://github.com/discourse/discourse/commit/74ae22d85f4e13c7c7f2e3c13fce023feec7e033
- https://github.com/discourse/discourse/commit/fd44510b4303e7f8f0b42bd070a2d42d3cda259f
- https://github.com/discourse/discourse/security/advisories/GHSA-8x29-vv56-wj6v