漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Coder vulnerable to stored HTML injection via workspace agent logs in AgentLogLine component
Vulnerability Description
Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.17, 2.32.7, 2.33.8, and 2.34.2, the `AgentLogLine` dashboard component instantiated `ansi-to-html` without `escapeXML: true` and inserted the result via `dangerouslySetInnerHTML` so HTML embedded in workspace agent log lines was rendered as live markup. Server-side sanitization did not neutralize HTML metacharacters. Exploitation requires a victim to view attacker-controlled agent logs in the dashboard. The fix in versions 2.29.17, 2.32.7, 2.33.8, and 2.34.2 enables `escapeXML: true` so HTML metacharacters are escaped before DOM insertion. No known workarounds are available.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
Coder 跨站脚本漏洞
Vulnerability Description
Coder是Coder组织开源的一个可以在公共或私有云基础设施中设置开发环境的应用程序。 Coder存在跨站脚本漏洞,该漏洞源于AgentLogLine仪表板组件在实例化ansi-to-html时未设置escapeXML: true,且服务端清理未中和HTML元字符,导致嵌入工作区代理日志行中的HTML呈现为活动标记,容易受到跨站脚本攻击。以下版本受到影响:2.29.17之前版本、2.30.0至2.32.7之前版本、2.33.0至2.33.8之前版本和2.34.0至2.34.2之前版本。
CVSS Information
N/A
Vulnerability Type
N/A