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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-63430— Ammonia MathML `annotation-xml` 编码剥离引发mXSS漏洞

一分钟漏洞结论

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

Ammonia 是一个用于修复和加固不可信 HTML 的 Rust 库。在版本 3.3.2、4.0.2 和 4.1.3 之前,如果应用程序明确允许使用 标签、 元素以及至少一种原始文本型 HTML 元素,同时禁止使用 属性,则可能导致跨站脚本攻击(XSS)。 具体而言,Ammonia 在属性过滤移除 属性后,未能正确实现 所依赖的 MathML 集成点行为。这导致 sanitizers(过滤器)在一种命名空间解释下对某个后代元素进行验证,而浏览器在重新解析输出时却采用另一种命名空间解释。攻击者可利用这种命名空间转换

CVSS 6.3 · Medium

影响版本矩阵 3

厂商产品 版本范围状态
rust-ammonia ammonia < 3.3.2 affected
>= 4.0.0, < 4.0.2 affected
>= 4.1.0, < 4.1.3 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
ammonia: mXSS in ammonia via MathML `annotation-xml` encoding strip
来源: CVE Program / CVE List V5
Vulnerability Description
ammonia is a Rust library for repairing and securing untrusted HTML. Prior to 3.3.2, 4.0.2, and 4.1.3, applications that explicitly allow the math tag, annotation-xml, and at least one raw-text HTML element while disallowing the encoding attribute can permit mutation cross-site scripting. ammonia does not correctly implement annotation-xml's encoding-dependent MathML integration-point behavior after attribute filtering removes encoding, so the sanitizer validates a descendant under one namespace interpretation while the browser reparses the output under another. An attacker can use that namespace transition and an allowed raw-text HTML element to execute JavaScript when a user renders the sanitized output. The required tags are not enabled by default, so applications that do not explicitly allow them are not affected. This issue is fixed in versions 3.3.2, 4.0.2, and 4.1.3.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
rust-ammonia ammonia < 3.3.2 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-63430 补丁与修复 (7)

CVE-2026-63430 厂商安全公告 (2)

CVE-2026-63430 安全博客文章 (1)

CVE-2026-63430 厂商页面 (1)

CVE-2026-63430 其他参考 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-63430

暂无评论


发表评论