Home / rust-ammonia / ammonia / CVE-2026-63430
CVE-2026-63430: is it exploited, and which versions of rust-ammonia ammonia are affected and fixed?
CVE-2026-63430 is a cross-site scripting (XSS) vulnerability in rust-ammonia ammonia. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: ammonia before 3.3.2, ammonia from 4.0.0 before 4.0.2 and ammonia from 4.1.0 before 4.1.3 (GitHub advisory GHSA-9jh8-v38h-cvhr). Fixed in 3.3.2, 4.0.2 and 4.1.3 (GitHub advisory GHSA-9jh8-v38h-cvhr). Severity: Medium (6.3, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-63430?
ammonia: mXSS in ammonia via MathML `annotation-xml` encoding strip
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.
From the CVE record by GitHub_M, last updated October 15, 2026, 20:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| rust-ammonia | ammonia | < 3.3.2 >= 4.0.0, < 4.0.2 >= 4.1.0, < 4.1.3 |
As the CVE record by GitHub_M states it, last updated October 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | ammonia | < 3.3.2 | 3.3.2 | GHSA-9jh8-v38h-cvhr |
| crates.io | ammonia | >= 4.0.0, < 4.0.2 | 4.0.2 | GHSA-9jh8-v38h-cvhr |
| crates.io | ammonia | >= 4.1.0, < 4.1.3 | 4.1.3 | GHSA-9jh8-v38h-cvhr |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2026. Summary: ammonia: mXSS via MathML `annotation-xml` encoding strip.
How severe is CVE-2026-63430?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 4.0 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-63430 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, October 15, 2026)
- EPSS
- 0.45% probability of exploitation activity in the next 30 days, percentile 40.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-9jh8-v38h-cvhr x_refsource_CONFIRM
- https://github.com/rust-ammonia/ammonia/pull/243 x_refsource_MISC
- https://github.com/rust-ammonia/ammonia/pull/244 x_refsource_MISC
- https://github.com/rust-ammonia/ammonia/pull/245 x_refsource_MISC
- https://github.com/rust-ammonia/ammonia/commit/004bf2cee4288f74a6ee619d589e3e90c24c09ca x_refsource_MISC
- https://github.com/rust-ammonia/ammonia/commit/7ac3fd3145236f28857eeecbadb544c8659cba31 x_refsource_MISC
- https://github.com/rust-ammonia/ammonia/commit/b51bf4f9749ed3cd518330105f20a2c39c9ee274 x_refsource_MISC
- https://github.com/rust-ammonia/ammonia/releases/tag/v3.3.2 x_refsource_MISC
- https://github.com/rust-ammonia/ammonia/releases/tag/v4.0.2 x_refsource_MISC
- https://github.com/rust-ammonia/ammonia/releases/tag/v4.1.3 x_refsource_MISC
- https://ivan09999.github.io/ammonia-mxss x_refsource_MISC
- https://rustsec.org/advisories/RUSTSEC-2026-0193.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- July 16, 2026
- Published
- October 15, 2026, 18:10 UTC
- CVE record updated
- October 15, 2026, 20:25 UTC by GitHub_M
- NVD
- Awaiting Analysis, last modified October 16, 2026, 16:00 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect ammonia?
- Oct 13, 2026CVE-2026-102342 rust-ammonia ammonia: cross-site scripting (XSS)
Questions about CVE-2026-63430
Is CVE-2026-63430 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.45% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of rust-ammonia ammonia are affected by CVE-2026-63430?
ammonia before 3.3.2, ammonia from 4.0.0 before 4.0.2 and ammonia from 4.1.0 before 4.1.3, per the GitHub advisory GHSA-9jh8-v38h-cvhr. The tables above give every range the sources list.
Which version fixes CVE-2026-63430?
3.3.2, 4.0.2 and 4.1.3, per the GitHub advisory GHSA-9jh8-v38h-cvhr. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-63430?
Medium (6.3, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-63430?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.