{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-63430",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-07-16T19:35:57.766Z",
        "datePublished": "2026-10-15T18:10:35.869Z",
        "dateUpdated": "2026-10-15T20:25:49.464Z"
    },
    "containers": {
        "cna": {
            "title": "ammonia: mXSS in ammonia via MathML `annotation-xml` encoding strip",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "lang": "en",
                            "description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "LOW",
                        "subIntegrityImpact": "LOW",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 6.3,
                        "baseSeverity": "MEDIUM",
                        "vectorString": "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",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-9jh8-v38h-cvhr",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-9jh8-v38h-cvhr"
                },
                {
                    "name": "https://github.com/rust-ammonia/ammonia/pull/243",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rust-ammonia/ammonia/pull/243"
                },
                {
                    "name": "https://github.com/rust-ammonia/ammonia/pull/244",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rust-ammonia/ammonia/pull/244"
                },
                {
                    "name": "https://github.com/rust-ammonia/ammonia/pull/245",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rust-ammonia/ammonia/pull/245"
                },
                {
                    "name": "https://github.com/rust-ammonia/ammonia/commit/004bf2cee4288f74a6ee619d589e3e90c24c09ca",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rust-ammonia/ammonia/commit/004bf2cee4288f74a6ee619d589e3e90c24c09ca"
                },
                {
                    "name": "https://github.com/rust-ammonia/ammonia/commit/7ac3fd3145236f28857eeecbadb544c8659cba31",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rust-ammonia/ammonia/commit/7ac3fd3145236f28857eeecbadb544c8659cba31"
                },
                {
                    "name": "https://github.com/rust-ammonia/ammonia/commit/b51bf4f9749ed3cd518330105f20a2c39c9ee274",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rust-ammonia/ammonia/commit/b51bf4f9749ed3cd518330105f20a2c39c9ee274"
                },
                {
                    "name": "https://github.com/rust-ammonia/ammonia/releases/tag/v3.3.2",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rust-ammonia/ammonia/releases/tag/v3.3.2"
                },
                {
                    "name": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.0.2",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.0.2"
                },
                {
                    "name": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.1.3",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.1.3"
                },
                {
                    "name": "https://ivan09999.github.io/ammonia-mxss",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://ivan09999.github.io/ammonia-mxss"
                },
                {
                    "name": "https://rustsec.org/advisories/RUSTSEC-2026-0193.html",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://rustsec.org/advisories/RUSTSEC-2026-0193.html"
                }
            ],
            "affected": [
                {
                    "vendor": "rust-ammonia",
                    "product": "ammonia",
                    "versions": [
                        {
                            "version": "< 3.3.2",
                            "status": "affected"
                        },
                        {
                            "version": ">= 4.0.0, < 4.0.2",
                            "status": "affected"
                        },
                        {
                            "version": ">= 4.1.0, < 4.1.3",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-10-15T18:10:35.869Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-9jh8-v38h-cvhr",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-9jh8-v38h-cvhr",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-10-15T20:24:18.831464Z",
                                "id": "CVE-2026-63430",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-10-15T20:25:49.464Z"
                }
            }
        ]
    }
}