{"id":"EUVD-2026-102241","enisaUuid":"35e40338-9cc2-32cb-998c-a653ad865128","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\u0027s 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.","datePublished":"Oct 15, 2026, 6:10:35 PM","dateUpdated":"Oct 15, 2026, 8:25:49 PM","baseScore":6.3,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-9jh8-v38h-cvhr\nhttps://github.com/rust-ammonia/ammonia/pull/243\nhttps://github.com/rust-ammonia/ammonia/pull/244\nhttps://github.com/rust-ammonia/ammonia/pull/245\nhttps://github.com/rust-ammonia/ammonia/commit/004bf2cee4288f74a6ee619d589e3e90c24c09ca\nhttps://github.com/rust-ammonia/ammonia/commit/7ac3fd3145236f28857eeecbadb544c8659cba31\nhttps://github.com/rust-ammonia/ammonia/commit/b51bf4f9749ed3cd518330105f20a2c39c9ee274\nhttps://github.com/rust-ammonia/ammonia/releases/tag/v3.3.2\nhttps://github.com/rust-ammonia/ammonia/releases/tag/v4.0.2\nhttps://github.com/rust-ammonia/ammonia/releases/tag/v4.1.3\nhttps://ivan09999.github.io/ammonia-mxss\nhttps://rustsec.org/advisories/RUSTSEC-2026-0193.html\n","aliases":"CVE-2026-63430\nGHSA-9jh8-v38h-cvhr\n","assigner":"GitHub_M","epss":0.56,"enisaIdProduct":[{"id":"50a365d2-cecd-32cb-b17d-8731c20b50d9","product":{"name":"ammonia","vendor":{"name":"rust-ammonia"}},"product_version":"4.1.0, \u003c 4.1.3"},{"id":"54b09013-3916-3563-b921-3f6f54afdac8","product":{"name":"ammonia","vendor":{"name":"rust-ammonia"}},"product_version":"\u003c 3.3.2"},{"id":"cacd6140-46ea-35e1-b98a-82cc7d6eef6e","product":{"name":"ammonia","vendor":{"name":"rust-ammonia"}},"product_version":"4.0.0, \u003c 4.0.2"}],"enisaIdVendor":[{"id":"e6647f17-dd6b-359f-b1ae-334ab9547c59","vendor":{"name":"rust-ammonia"}}],"enisaIdVulnerability":[{"id":"a81753c9-1c80-3f75-a3e8-58d342a84e2b","vulnerability":{"id":"CVE-2026-63430","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\u0027s 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.","datePublished":"Oct 15, 2026, 6:10:35 PM","dateUpdated":"Oct 15, 2026, 8:25:49 PM","status":"PUBLISHED","baseScore":6.3,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-9jh8-v38h-cvhr\nhttps://github.com/rust-ammonia/ammonia/pull/243\nhttps://github.com/rust-ammonia/ammonia/pull/244\nhttps://github.com/rust-ammonia/ammonia/pull/245\nhttps://github.com/rust-ammonia/ammonia/commit/004bf2cee4288f74a6ee619d589e3e90c24c09ca\nhttps://github.com/rust-ammonia/ammonia/commit/7ac3fd3145236f28857eeecbadb544c8659cba31\nhttps://github.com/rust-ammonia/ammonia/commit/b51bf4f9749ed3cd518330105f20a2c39c9ee274\nhttps://github.com/rust-ammonia/ammonia/releases/tag/v3.3.2\nhttps://github.com/rust-ammonia/ammonia/releases/tag/v4.0.2\nhttps://github.com/rust-ammonia/ammonia/releases/tag/v4.1.3\nhttps://ivan09999.github.io/ammonia-mxss\nhttps://rustsec.org/advisories/RUSTSEC-2026-0193.html\n","enisa_id":"EUVD-2026-102241\n","assigner":"GitHub_M","epss":0.56,"dataProcessed":"Oct 28, 2026, 7:15:21 AM","vulnerabilityProduct":[{"id":"0b81ef50-5906-3891-a3d4-80188c3b7db1","product":{"name":"ammonia","vendor":{"name":"rust-ammonia"}},"product_version":"4.1.0, \u003c 4.1.3"},{"id":"241e2d9b-67b9-3cbc-ae47-29733396dba0","product":{"name":"ammonia","vendor":{"name":"rust-ammonia"}},"product_version":"4.0.0, \u003c 4.0.2"},{"id":"d7130da9-351e-3e13-b4a2-ed7ac199bd15","product":{"name":"ammonia","vendor":{"name":"rust-ammonia"}},"product_version":"\u003c 3.3.2"}],"vulnerabilityVendor":[{"id":"bcb0fa03-2d51-3935-bf7c-391c9985b613","vendor":{"name":"rust-ammonia"}}]}},{"id":"df5e7384-8f61-32aa-858b-371794db7428","vulnerability":{"id":"GHSA-9jh8-v38h-cvhr","description":"ammonia: mXSS  via MathML `annotation-xml` encoding strip","datePublished":"Oct 22, 2026, 2:06:10 PM","dateUpdated":"Oct 22, 2026, 2:06:10 PM","baseScore":0.0,"references":"https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-9jh8-v38h-cvhr\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-63430\nhttps://github.com/rust-ammonia/ammonia/pull/243\nhttps://github.com/rust-ammonia/ammonia/pull/244\nhttps://github.com/rust-ammonia/ammonia/pull/245\nhttps://github.com/rust-ammonia/ammonia/commit/004bf2cee4288f74a6ee619d589e3e90c24c09ca\nhttps://github.com/rust-ammonia/ammonia/commit/7ac3fd3145236f28857eeecbadb544c8659cba31\nhttps://github.com/rust-ammonia/ammonia/commit/b51bf4f9749ed3cd518330105f20a2c39c9ee274\nhttps://github.com/rust-ammonia/ammonia\nhttps://github.com/rust-ammonia/ammonia/releases/tag/v3.3.2\nhttps://github.com/rust-ammonia/ammonia/releases/tag/v4.0.2\nhttps://github.com/rust-ammonia/ammonia/releases/tag/v4.1.3\nhttps://ivan09999.github.io/ammonia-mxss\nhttps://rustsec.org/advisories/RUSTSEC-2026-0193.html\n","enisa_id":"EUVD-2026-102241\n","aliases":"GHSA-9jh8-v38h-cvhr\nCVE-2026-63430\n","epss":0.0,"dataProcessed":"Oct 28, 2026, 7:03:20 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}