Description
Discourse is an open-source discussion platform. Prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5, a topic "featured link" was not sufficiently normalized and escaped before being rendered in the topic list, allowing a user who can set a featured link to inject JavaScript when default Content Security Policy protections were modified or disabled. This issue is fixed in versions 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.
Problem types
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
>= 2026.4.0-latest, < 2026.4.2
>= 2026.5.0-latest, < 2026.5.1
References
github.com/...course/security/advisories/GHSA-695w-7fv8-mxg3
github.com/...ommit/1bce8881e4253d9bbab56f011a12ef899b926b59
github.com/...ommit/6679d9a5083488bae10c2adbb345c481c583242c
github.com/...ommit/6828aee9b15c2655d63b515ac919830bd540ff83
github.com/...ommit/c9b9405f5bd0bf0269e505e28e3aad388d7657c5
github.com/discourse/discourse/releases/tag/v2026.1.5
github.com/discourse/discourse/releases/tag/v2026.4.2
github.com/discourse/discourse/releases/tag/v2026.5.1
github.com/discourse/discourse/releases/tag/v2026.6.0