CVE-2026-63430

Source
https://cve.org/CVERecord?id=CVE-2026-63430
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63430.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-63430
Aliases
Downstream
Published
2026-10-15T18:10:35Z
Modified
2026-10-16T10:30:39Z
Severity
  • 6.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
ammonia: mXSS in ammonia via MathML `annotation-xml` encoding strip
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-79"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63430.json"
}
References

Affected packages

Git / github.com/rust-ammonia/ammonia

Affected ranges

Type
GIT
Repo
https://github.com/rust-ammonia/ammonia
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "3.3.2"
        },
        {
            "introduced":  "4.0.0"
        },
        {
            "fixed":  "4.0.2"
        },
        {
            "introduced":  "4.1.0"
        },
        {
            "fixed":  "4.1.3"
        }
    ],
    "source":  "AFFECTED_FIELD"
}

Affected versions

v0.*
v0.2.0
v0.4.0
v0.5.0
v0.6.0
v0.7.0
v1.*
v1.0.0
v1.0.0-rc1
v1.0.0-rc2
v1.0.0-rc3
v1.0.1
v1.1.0
v1.2.0
v2.*
v2.0.0
v2.1.0
v2.1.1
v2.1.2
v2.1.3
v3.*
v3.0.0
v3.1.0
v3.1.1
v3.1.2
v3.1.3
v3.1.4
v3.2.0
v3.2.1
v3.3.0
v3.3.1
v4.*
v4.0.0
v4.0.1
v4.1.0
v4.1.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63430.json"