
CVE catalog
CVE-2026-63430
rust-ammonia: CVE-2026-63430
- Severity
- Medium · CVSS 6.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 - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.56% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rust-ammonia | sid | 4.2.3-1 | fixed |
| Debian | rust-ammonia | forky | 4.1.4-1 | fixed |
| Debian | rust-ammonia | trixie | 4.0.0-3 | vulnerable |
| Debian | rust-ammonia | bookworm | 3.2.1-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-ammonia | source | sid | 4.1.3-1 | not yet assigned | Not reported | [1141594] |
| Debian | rust-ammonia | source | forky | 4.1.3-1 | not yet assigned | Not reported | [1141594] |
| Debian | rust-ammonia | source | trixie | (unfixed) | not yet assigned | Not reported | [1141594] |
| Debian | rust-ammonia | source | bookworm | (unfixed) | not yet assigned | Not reported | [1141594] |
Notes
[trixie] rust-ammonia: Minor issue [bookworm] rust-ammonia: Limited support, minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [librust-ammonia-dev]Affected
Source package: [rust-ammonia]
Details (2)
3.2.1-1· amd64 · bookwormAffected
dsa · rust-ammonia · debian · bookworm; dsa · rust-ammonia · debian · 12
3.2.1-1· arm64 · bookwormAffected
dsa · rust-ammonia · debian · bookworm; dsa · rust-ammonia · debian · 12
[Debian 13 (Trixie)]
- [librust-ammonia-dev]Affected
Source package: [rust-ammonia]
Details (2)
4.0.0-3· amd64 · trixieAffected
dsa · rust-ammonia · debian · 13
4.0.0-3· arm64 · trixieAffected
dsa · rust-ammonia · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-63430]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-63430]
- [https://security-tracker.debian.org/tracker/CVE-2026-63430]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-63430.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]