Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
discourse discourse
< 2026.1.6affected>= 2026.5.0-latest, < 2026.5.2affected>= 2026.6.0-latest, < 2026.6.1affected
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 ↗