Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Ammonia versions before 3.3.1, from 4.0.0 before 4.0.1, and from 4.1.0 before 4.1.2 do not correctly strip namespace-incompatible tags, so HTML, SVG and MathML are parsed inconsistently. This only matters if the application allows the svg or math tag and also allows a raw-text element such as style, script or title. An attacker who can supply input to be cleaned could then cause cross-site scripting after sanitization. Upgrade to version 3.3.1, 4.0.1 or 4.1.2, depending on your release line.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| Not published | None | 4.0 | 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:U | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS No score.
Timeline
- 31 Oct 2026, 15:17 UTC First seen by agentprime
- 31 Oct 2026, 15:17 UTC Confirmed by OSV