目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-117645— Phoenix.HTML 属性注入漏洞

一分钟漏洞结论

影响对象
phoenixframework phoenix_html
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Phoenix Framework 的 组件中存在“网页生成过程中输入未正确中和(跨站脚本攻击,XSS)”漏洞。该漏洞允许能够控制属性名称的攻击者,通过 函数向渲染后的 HTML 中注入恶意属性及脚本。 具体而言, 中的 函数仅对属性值进行转义,而未对属性名进行转义。 函数将二进制键值传递给 ,该函数会中和引号和尖括号,但不会处理空白字符。因此,类似 的键值会终止当前属性并开启一个新的属性。对于原子(atom)类型的键,仅会进行连字符化(dasherize)处理,导致包括引号和 在内的任何字符均可直接通过。嵌套的

CVSS 5.3 · Medium
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-117645 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Phoenix.HTML vulnerable to attribute injection via unvalidated attribute names in attributes_escape/1
来源: CVE Program / CVE List V5
Vulnerability Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in phoenixframework phoenix_html allows an attacker who controls attribute names to inject attributes and script into rendered HTML via Phoenix.HTML.attributes_escape/1. attributes_escape/1 in lib/phoenix_html.ex escapes attribute values but not attribute names. key_escape/1 passes a binary key through html_escape, which neutralizes quotes and angle brackets but not whitespace, so a key such as x onmouseover ends the attribute and starts a new one. An atom key is only dasherized, so any character passes, including quotes and >. Nested data, aria and phx keys take the same paths. An application is affected when it builds attribute keys from untrusted input and renders them through HEEx <tag {@attrs}>, content_tag/3, or a direct call. Before 3.0.0 the same code lived in Phoenix.HTML.Tag. This issue affects phoenix_html: from 1.0.0 before 3.3.5 and from 4.0.0 before 4.4.0.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
phoenixframework phoenix_html 1.0.0 ~ 3.3.5 cpe:2.3:a:phoenixframework:phoenix_html:*:*:*:*:*:*:*:*
phoenixframework phoenix_html 6ad3a1d7960891a468d54636054a98e11dfb5111 ~ * cpe:2.3:a:phoenixframework:phoenix_html:*:*:*:*:*:*:*:*

二、漏洞 CVE-2026-117645 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-117645 的情报信息

请登录查看更多情报信息。

CVE-2026-117645 其他参考 (5)

IV. Related Vulnerabilities