PT-2026-76681 · Discourse · Discourse

CVE-2026-55674

·

Published

2026-08-17

·

Updated

2026-08-21

CVSS v3.1

9.3

Critical

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions Discourse versions prior to 2026.1.6 Discourse versions prior to 2026.5.2 Discourse versions prior to 2026.6.1 Discourse versions prior to 2026.7.0
Description An unauthenticated attacker can inject arbitrary HTML into a page by sending a request containing a crafted color scheme id or dark scheme id cookie. The issue occurs because the cookie value is rendered into a color scheme tag without proper escaping, allowing the attacker to bypass the nonce-based Content Security Policy (a security layer that helps detect and block certain types of code injection attacks) and execute arbitrary JavaScript in the browsers of visitors.
Recommendations Update to version 2026.1.6 Update to version 2026.5.2 Update to version 2026.6.1 Update to version 2026.7.0

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BIT-DISCOURSE-2026-55674
CVE-2026-55674
GHSA-QX4V-RG4V-PM2G

Affected Products

Discourse