CVE-2026-55674: XSS

Published Aug 17, 2026
·
Updated

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.

Affected Software

1 affected component
Discourse Discourse>2026.1.6, >2026.5.2, >2026.6.1, >2026.7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Discourse to a version that resolves this vulnerability.

    Fixed in 2026.1.6
  2. Upgrade

    Upgrade Discourse to a version that resolves this vulnerability.

    Fixed in 2026.5.2
  3. Upgrade

    Upgrade Discourse to a version that resolves this vulnerability.

    Fixed in 2026.6.1
  4. Upgrade

    Upgrade Discourse to a version that resolves this vulnerability.

    Fixed in 2026.7.0

Event History

Aug 17, 2026
CVE Published
via NVD·04:16 PM
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-55674?

CVE-2026-55674 has a severity rating of critical with a CVSS score of 9.3.

2

How do I fix CVE-2026-55674?

To mitigate CVE-2026-55674, update Discourse to versions 2026.1.6, 2026.5.2, 2026.6.1, or 2026.7.0.

3

What type of vulnerability is CVE-2026-55674?

CVE-2026-55674 is identified as a Cross-Site Scripting (XSS) vulnerability.

4

Who is affected by CVE-2026-55674?

Any Discourse user running versions prior to 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0 is at risk from CVE-2026-55674.

5

What is the impact of CVE-2026-55674?

CVE-2026-55674 allows unauthenticated attackers to inject arbitrary HTML into Discourse pages due to a flaw in cookie handling.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203