Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 73%

Discourse: Cache poisoning/XSS via color scheme cookies (CVE-2026-55674)

0
Critical
Published: 08/21/2026 (08/21/2026, 11:26:39 UTC)
Source: GCVE Database
Product: discourse

Description

Discourse versions prior to 2026.1.6, 2026.5.2, and 2026.6.1 contain a vulnerability where an unauthenticated attacker can inject arbitrary HTML via crafted color_scheme_id or dark_scheme_id cookies. This injection bypasses the platform's nonce-based Content Security Policy, enabling arbitrary JavaScript execution in visitors' browsers. The issue is fixed in versions 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0.

Affected software

Bitnamimore threats →ghsa
discourse
pkg:bitnami/discourse
Affected versions
<2026.1.6>=2026.5.0 <2026.5.2>=2026.6.0 <2026.6.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/21/2026, 14:30:28 UTC

Technical Analysis

Discourse, an open-source discussion platform, has a critical vulnerability (CVE-2026-55674) affecting certain versions before 2026.1.6, 2026.5.2, and 2026.6.1. The flaw arises because the color_scheme_id and dark_scheme_id cookie values are rendered into a color scheme tag without proper escaping. An attacker can craft a cookie to break out of the attribute context and inject arbitrary HTML, which bypasses the nonce-based Content Security Policy. This leads to arbitrary JavaScript execution in the browsers of site visitors. The vulnerability is addressed in Discourse versions 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0.

Potential Impact

An unauthenticated attacker can execute arbitrary JavaScript in the browsers of visitors to a vulnerable Discourse instance by exploiting the cookie injection flaw. This can lead to cross-site scripting (XSS) attacks, potentially compromising user sessions, stealing sensitive information, or performing actions on behalf of users.

Mitigation Recommendations

Apply the official patches by upgrading Discourse to version 2026.1.6, 2026.5.2, 2026.6.1, or later versions such as 2026.7.0. These versions contain fixes that properly escape cookie values to prevent injection and bypass of the Content Security Policy. No other mitigation is indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BIT-discourse-2026-55674
Osv Schema Version
1.6.2
Aliases
["CVE-2026-55674"]
Ecosystems
["Bitnami"]
Database Specific Severity
Critical
Cvss Version
null

Threat ID: 6a885f20acd9273b493f7d13

Added to database: 08/21/2026, 14:22:24 UTC

Last enriched: 08/21/2026, 14:30:28 UTC

Last updated: 08/21/2026, 22:52:13 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses