BIT-discourse-2026-55674

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/discourse/BIT-discourse-2026-55674.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-discourse-2026-55674
Aliases
Published
2026-08-21T11:26:39.921Z
Modified
2026-08-21T12:10:31.397085016Z
Summary
Discourse: Cache poisoning/XSS via color scheme cookies
Details

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 colorschemeid (or darkschemeid) 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.

Database specific
{
    "severity": "Critical",
    "cpes": [
        "cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:*",
        "cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:*"
    ]
}
References

Affected packages

Bitnami / discourse

Package

Name
discourse
Purl
pkg:bitnami/discourse

Severity

  • 9.3 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2026.1.6
Introduced
2026.5.0
Fixed
2026.5.2
Introduced
2026.6.0
Fixed
2026.6.1

Database specific

source
"https://github.com/bitnami/vulndb/tree/main/data/discourse/BIT-discourse-2026-55674.json"