XSS in Discourse
CVE-2026-72729
Discourse is an open-source discussion platform. Prior to 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0, the discourse-local-dates plugin rendered crafted local-date format data as HTML on sites with a modified or disabled default Content Security Policy. This issue is fixed in versions 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
EPSS exploit prediction
EPSS: 0.005 (39.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 39th percentile — 39.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.005 · change: +0.002
Affected products
- Discourse — versions < 2026.1.6, >= 2026.5.0-latest, < 2026.5.2, >= 2026.6.0-latest, < 2026.6.1
Weakness classification (CWE)
References
- github.com/discourse/discourse/security/advisories/GHSA-rw96-2xg7-h54g
- github.com/discourse/discourse/commit/9768f476ed86ea202440cd2b6245af8a4f94ec69
- github.com/discourse/discourse/commit/981ba23d33d2e2d98f6690734116af58f2cea938
- github.com/discourse/discourse/commit/a7e509bfa1aa6288b447503de6ef798c31a62751
- github.com/discourse/discourse/commit/d5d5055fbdf04d5bd72fcaa7e4257fac5adac049