ammonia: mXSS via MathML `annotation-xml` encoding strip
影響: rust:ammonia < 3.3.2 → 3.3.2, rust:ammonia >= 4.0.0, < 4.0.2 → 4.0.2, rust:ammonia >= 4.1.0, < 4.1.3 → 4.1.3
If a certain set of MathML tags are enabled, an attacker can inject arbitrary JavaScript code into the user's browser. The annotation-xml tag has slightly different behavior than the other "integration point" tags in MathML and SVG, but ammonia didn't handle it, so it didn't correctly strip the namespace-incompatible tags. This vulnerability only has an effect when the math and annotation-xml tags are both enabled, but the encoding attribute is disabled, because it relies on the following seque…
| CVE | CVE-2026-63430 |
|---|---|
| 来源 | GitHub Advisory Database |
| 获取时间 | 2026/10/23 05:09 |
| 数据 | Markdown JSON |
2026/10/22 23:06,GitHub Advisory Database 发布了“ammonia: mXSS via MathML `annotation-xml` encoding strip”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:Rust。CVE:CVE-2026-63430。