VulnPulse
MediumAdvisoryRust

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…

Read on GitHub Advisory Database

CVECVE-2026-63430
SourceGitHub Advisory Database
Fetched10/23/2026, 05:09 AM
DataMarkdown JSON

On 10/22/2026, 11:06 PM, GitHub Advisory Database published "ammonia: mXSS via MathML `annotation-xml` encoding strip" (type: Advisory). Severity is "Medium" (medium). Related technologies: Rust. CVE: CVE-2026-63430.