CVE-2026-55674
9.3critical
Discourse: Cache poisoning/XSS via color scheme cookies
- Severity
- 9.3critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.42% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-DISCOURSE-2026-55674GHSA-qx4v-rg4v-pm2g
Description
Discourse is an open-source discussion platform. Prior to 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0, an unauthenticated attacker could send a single request with a crafted color_scheme_id (or dark_scheme_id) cookie to inject arbitrary HTML into a Discourse page. Because the cookie value was rendered into a color scheme tag without escaping, the attacker could break out of the attribute and inject a tag that bypassed Discourse's nonce-based Content Security Policy, resulting in arbitrary JavaScript execution in visitors' browsers. This issue is fixed in versions 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| discourse discourse | < 2026.1.6, >= 2026.5.0-latest, < 2026.5.2, >= 2026.6.0-latest, < 2026.6.1 | CVE List |
| discourse (Bitnami) | before 2026.1.6, from 2026.5.0 before 2026.5.2, from 2026.6.0 before 2026.6.1 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 9.3critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
| Bitnami Vulnerability Database | critical rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-55674 changed 2026-08-18 | CVE Terms of Use |
| NVD | CVE-2026-55674 changed 2026-09-18 | Public domain |
| Bitnami Vulnerability Database | BIT-DISCOURSE-2026-55674 changed 2026-10-05 | Apache-2.0 |