{
  "id": "CVE-2026-55674",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-55674",
  "published_at": "2026-08-17T15:30:17.691Z",
  "title": "Discourse: Cache poisoning/XSS via color scheme cookies",
  "vendor": "discourse",
  "product": "discourse",
  "cvss": {
    "score": 9.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-79",
  "cvss_by_source": {
    "cna": 9.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "discourse",
        "product": "discourse",
        "ranges": [
          "\u003c 2026.1.6",
          "\u003e= 2026.5.0-latest, \u003c 2026.5.2",
          "\u003e= 2026.6.0-latest, \u003c 2026.6.1"
        ],
        "fixed_in": [
          "2026.1.6",
          "2026.5.2",
          "2026.6.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade discourse to 2026.1.6 or 2026.5.2 or 2026.6.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/discourse/discourse/security/advisories/GHSA-qx4v-rg4v-pm2g"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
