PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-63430 rust-ammonia CVE debrief

A mutation cross-site scripting (mXSS) vulnerability exists in the ammonia Rust library, which can allow an attacker to execute JavaScript when a user renders sanitized output. The issue arises from incorrect implementation of MathML integration-point behavior after attribute filtering removes encoding. This vulnerability affects applications that explicitly allow the math tag, annotation-xml, and at least one raw-text HTML element. Defenders should assess exposure and verify inventory for applications using ammonia with explicitly allowed math tag, annotation-xml, and raw-text HTML elements.

Vendor
rust-ammonia
Product
ammonia
CVSS
MEDIUM 6.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-15
Original CVE updated
2026-10-15
Advisory published
2026-10-15
Advisory updated
2026-10-15

Who should care

Defenders responsible for applications using the ammonia library, particularly those that explicitly allow the math tag, annotation-xml, and at least one raw-text HTML element, should assess exposure and verify inventory.

Why it matters

The CVE-2026-63430 vulnerability in the ammonia Rust library can allow an attacker to execute JavaScript when a user renders sanitized output, potentially leading to mXSS attacks. Defenders should assess exposure, verify inventory, and prioritize upgrading to fixed versions.

  • Execution of JavaScript when a user renders sanitized output.
  • Potential for mutation cross-site scripting (mXSS) attacks.
  • Need for verification of inventory and affected versions.
  • Priority for upgrading to fixed versions.

Technical summary

The ammonia Rust library does not correctly implement annotation-xml's encoding-dependent MathML integration-point behavior after attribute filtering removes encoding. This allows an attacker to execute JavaScript when a user renders sanitized output. The vulnerability arises from the library's failure to properly handle the encoding attribute in annotation-xml elements, which can lead to mXSS attacks. Defenders should prioritize assessing exposure and verifying inventory, particularly for applications that explicitly allow the math tag, annotation-xml, and at least one raw-text HTML element.

Defensive priority

Defenders should prioritize assessing exposure and verifying inventory, particularly for applications that explicitly allow the math tag, annotation-xml, and at least one raw-text HTML element.

Recommended defensive actions

  • Assess exposure and verify inventory for applications using ammonia with explicitly allowed math tag, annotation-xml, and raw-text HTML elements.
  • Verify if applications are using affected versions (< 3.3.2, >= 4.0.0, < 4.0.2, or >= 4.1.0, < 4.1.3) and upgrade to fixed versions (3.3.2, 4.0.2, or 4.1.3).
  • Implement compensating controls, such as validating and sanitizing user input, and monitoring for suspicious activity.
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.

Evidence notes

The CVE record and source item provide details on the vulnerability, affected versions, and fixed versions. However, the corpus does not establish versions, exploitation, impact, or remediation beyond supplied official sources.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-63430 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-63430

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-63430 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-63430

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • ammonia: mXSS in ammonia via MathML `annotation-xml` encoding strip

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/63xxx/CVE-2026-63430.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-9jh8-v38h-cvhr

    Supplemental source - x_refsource_CONFIRM

  • Source reference

    Unverified legacy reference

    URL: https://github.com/rust-ammonia/ammonia/pull/243

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/rust-ammonia/ammonia/pull/244

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/rust-ammonia/ammonia/pull/245

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/rust-ammonia/ammonia/commit/004bf2cee4288f74a6ee619d589e3e90c24c09ca

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/rust-ammonia/ammonia/commit/7ac3fd3145236f28857eeecbadb544c8659cba31

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/rust-ammonia/ammonia/commit/b51bf4f9749ed3cd518330105f20a2c39c9ee274

    Supplemental source - x_refsource_MISC

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.