CVE-2026-63430ammonia: mXSS in ammonia via MathML `annotation-xml` encoding strip
- 6.3MediumCVSS base score
- 0.56%Exploitation in 30 daysEPSS · top 53% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
- https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-9jh8-v38h-cvhr (opens in a new tab)x_refsource_CONFIRMexploit
Timeline
ID reserved
By GitHub_M
- 3 months later
· 3 months later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 4.0 | Medium6.3 | 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 |
| NVDNVD · Awaiting Analysis | 4.0 | Medium6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.56% · top 53% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.3.
Affected products
- affected < 3.3.2
- affected >= 4.0.0, < 4.0.2
- affected >= 4.1.0, < 4.1.3
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- crates.ioammoniaGHSA-9jh8-v38h-cvhr (opens in a new tab)
References
References12
- https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-9jh8-v38h-cvhr (opens in a new tab)x_refsource_CONFIRMexploit
- https://github.com/rust-ammonia/ammonia/pull/243 (opens in a new tab)x_refsource_MISC
- https://github.com/rust-ammonia/ammonia/pull/244 (opens in a new tab)x_refsource_MISC
- https://github.com/rust-ammonia/ammonia/pull/245 (opens in a new tab)x_refsource_MISC
- https://github.com/rust-ammonia/ammonia/commit/004bf2cee4288f74a6ee619d589e3e90c24c09ca (opens in a new tab)x_refsource_MISC
- https://github.com/rust-ammonia/ammonia/commit/7ac3fd3145236f28857eeecbadb544c8659cba31 (opens in a new tab)x_refsource_MISC
- https://github.com/rust-ammonia/ammonia/commit/b51bf4f9749ed3cd518330105f20a2c39c9ee274 (opens in a new tab)x_refsource_MISC
- https://github.com/rust-ammonia/ammonia/releases/tag/v3.3.2 (opens in a new tab)x_refsource_MISC
- https://github.com/rust-ammonia/ammonia/releases/tag/v4.0.2 (opens in a new tab)x_refsource_MISC
- https://github.com/rust-ammonia/ammonia/releases/tag/v4.1.3 (opens in a new tab)x_refsource_MISC
- https://ivan09999.github.io/ammonia-mxss (opens in a new tab)x_refsource_MISC
- https://rustsec.org/advisories/RUSTSEC-2026-0193.html (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-102241 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-9jh8-v38h-cvhr (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-63430)Record last updated .