🛡️ RUSTSEC-2026-0213 — ammonia

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

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

crates.io (Package)
rustsec.org (Advisory)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2026-07-21
Updated 2026-08-12
Modified 2026-07-22
Fix URL N/A

Affected Packages

Software From version Fixed in
ammonia

Similar Threats

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.