AI description
CVE-2026-55674 is a vulnerability affecting Discourse, an open-source discussion platform, in versions prior to 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0. The flaw allows an unauthenticated attacker to inject arbitrary HTML into a Discourse page by sending a single request containing a crafted `color_scheme_id` or `dark_scheme_id` cookie. The vulnerability exists because the cookie value is rendered into a color scheme tag without proper escaping. This lack of sanitization enables an attacker to break out of the HTML attribute and inject a tag that bypasses Discourse's nonce-based Content Security Policy (CSP), resulting in arbitrary JavaScript execution in the browsers of visiting users. The issue has been addressed in the updated software releases.
- 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.
- Source
- security-advisories@github.com
- NVD status
- Deferred
CVSS 3.1
- Type
- Secondary
- Base score
- 9.3
- Impact score
- 5.8
- Exploitability score
- 2.8
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
- Severity
- CRITICAL
- security-advisories@github.com
- CWE-79
- Hype score
- Not currently trending
掲示板OSSのDiscourseに重大(Critical)な脆弱性。CVE-2026-55674はCVSSスコア9.3で、無認証で各匿名ユーザー向けに任意のJavaScriptを押し付けられるもの。任意ファイル読み込みのCVE-2026-55420と併せ修正。 https://t.co/7pJsCLzAbS
@__kokumoto
13 Oct 2026
584 Impressions
0 Retweets
0 Likes
1 Bookmark
0 Replies
0 Quotes
Our research team discovered two vulnerabilities in Discourse: a pre-authentication cache poisoning to sitewide XSS (CVE-2026-55674), and an arbitrary file read (RCE) chaining a JPEG race condition with ImageMagick and Ghostscript (CVE-2026-55420). You can read more here: https:/
@assetnote
7 Oct 2026
6153 Impressions
30 Retweets
104 Likes
48 Bookmarks
2 Replies
2 Quotes