Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Discourse: Cache poisoning/XSS via color scheme cookies
Vulnerability 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.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
Discourse 跨站脚本漏洞
Vulnerability Description
Discourse是Discourse社区开源的一个集成人工智能技术的论坛社区平台。 Discourse 2026.1.6之前版本、2026.5.2之前版本、2026.6.1之前版本和2026.7.0之前版本存在跨站脚本漏洞,该漏洞源于color_scheme_id或dark_scheme_id cookie值未转义便渲染到颜色方案标签中,可能导致未经身份验证的攻击者注入任意HTML并绕过基于nonce的内容安全策略,在访问者浏览器中执行任意JavaScript。
CVSS Information
N/A
Vulnerability Type
N/A