🛡️ RUSTSEC-2026-0213 — ammonia
Description
XSS in ammonia via SVG animate and set animation tags
The following SVG will produce a link with a javascript scheme.
If the user clicks this link, they will run it.
```xml
<svg xmlns="http://www.w3.org/2000/svg">
<a>
<set attributeName="href" to="javascript:alert('SET_XSS')"></set>
<text y="30">Click set</text>
</a>
</svg>
```
Ammonia did not apply attribute filters based on attributeName,
so the contents of the to, from, and values tags were not sanitized as URLs.
Applications that do not explicitly allow either of these tags should not be affected,
since neither are allowed by default.
Discovered by: [Younghun Ko (@koyokr)](https://github.com/koyokr)
Affected software
RUSTSEC-2026-0213 is recorded against 1 package.
- ammonia
Timeline and source
Published on 21 July 2026 and last revised on 22 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| ammonia | — | — |
References
Similar Threats
- Unknown CVE-2026-63430
- Low GHSA-mm7x-qfjj-5g2c
- Unknown RUSTSEC-2025-0071
- Unknown GHSA-p2g9-94wh-65c2
- Unknown RUSTSEC-2022-0003
More RUSTSEC 2026 advisories
Browse all of RUSTSEC 2026 in the advisory index.
Free Vulnerability Check
Is your site affected by RUSTSEC-2026-0213?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against RUSTSEC-2026-0213 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.