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, 42.2th percentile (scored ); unchanged over 30 days. About EPSS.
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
- https://github.com/discourse/discourse/security/advisories/GHSA-rw96-2xg7-h54g
- https://github.com/discourse/discourse/commit/9768f476ed86ea202440cd2b6245af8a4f94ec69
- https://github.com/discourse/discourse/commit/981ba23d33d2e2d98f6690734116af58f2cea938
- https://github.com/discourse/discourse/commit/a7e509bfa1aa6288b447503de6ef798c31a62751
- https://github.com/discourse/discourse/commit/d5d5055fbdf04d5bd72fcaa7e4257fac5adac049