Cross-Site Scripting Vulnerability in Discourse
CVE-2026-55674
Key Information:
- Vendor
Discourse
- Status
- CVE ID
- CVE ID:
- CVE-2026-55674
- Vendor
- CVE Published:
- 17 August 2026
- Fixed in
- Fixed in:
- 2026.1.6, 2026.5.0-latest, 2026.5.2, 2026.6.0-latest, 2026.6.1
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but a user must act
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Update to a fixed version
Install the discourse release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach discourse. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- Its CVSS severity is critical (9.3).
What is CVE-2026-55674?
Discourse is an open-source discussion platform that, prior to the specified versions, was vulnerable to Cross-Site Scripting (XSS). An unauthenticated attacker could exploit this vulnerability by sending a single request with a manipulated 'color_scheme_id' or 'dark_scheme_id' cookie. This allowed the injection of arbitrary HTML into Discourse pages, as the cookie values were rendered into a color scheme tag without proper escaping. The lack of adequate security measures enabled the attacker to break out of the attribute and evade Discourse's nonce-based Content Security Policy, ultimately leading to arbitrary JavaScript execution in the browsers of unsuspecting visitors. This vulnerability has been addressed in versions 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0.
References
More Discourse Vulnerabilities
Authorization Flaw in Discourse
HTML Injection Flaw in Discourse Invitation System
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction