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

- Severity: Critical 9.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-08-17T15:30:17.691Z
- Modified: 2026-10-05T14:30:06.830Z
- Also known as: BIT-DISCOURSE-2026-55674, GHSA-qx4v-rg4v-pm2g
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- discourse discourse: < 2026.1.6; >= 2026.5.0-latest, < 2026.5.2; >= 2026.6.0-latest, < 2026.6.1
- discourse (Bitnami): before 2026.1.6; from 2026.5.0 before 2026.5.2; from 2026.6.0 before 2026.6.1

## Every score

- GitHub_M: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-qx4v-rg4v-pm2g> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55674> (web)

## Sources

- CVE List: [CVE-2026-55674](https://www.cve.org/CVERecord?id=CVE-2026-55674), CVE Terms of Use, modified 2026-08-18
- NVD: [CVE-2026-55674](https://nvd.nist.gov/vuln/detail/CVE-2026-55674), Public domain, modified 2026-09-18
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2026-55674](https://osv.dev/vulnerability/BIT-DISCOURSE-2026-55674), Apache-2.0, modified 2026-10-05

---

Page: https://cve.day/CVE-2026-55674 · Whole record: https://cve.day/CVE-2026-55674.json · Rebuilt by cve.day 2026-11-25T22:59:33.351Z
