Moderate severityNVD Advisory· Published Sep 29, 2026· Updated Sep 29, 2026
Ammonia: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE-2026-102342
Description
The following SVG will produce a link with a javascript scheme. If the user clicks this link, they will run it.
Click set
Impact
Allows stored XSS in applications that allow the animate and set tags.
Patches
Fixed in 3.3.3, 4.0.3, and 4.1.4
Workarounds
Do not enable the animate or set tags.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
ammoniacrates.io | < 3.3.3 | 3.3.3 |
ammoniacrates.io | >= 4.0.0, < 4.0.3 | 4.0.3 |
ammoniacrates.io | >= 4.1.2, < 4.1.4 | 4.1.4 |
Affected products
1Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-m6mh-2hw2-555xghsaADVISORY
- github.com/rust-ammonia/ammonia/commit/9394bd81179e756cb911314deabd943f1a9c8989ghsaWEB
- github.com/rust-ammonia/ammonia/commit/9e3335e2dd8ab07346ff7997f20662a3da4023f6ghsaWEB
- github.com/rust-ammonia/ammonia/commit/d2ae1547f478bd84d158bc5e57f5d31437dc4d8dghsaWEB
- github.com/rust-ammonia/ammonia/pull/250ghsaWEB
- github.com/rust-ammonia/ammonia/pull/251ghsaWEB
- github.com/rust-ammonia/ammonia/pull/252ghsaWEB
- github.com/rust-ammonia/ammonia/security/advisories/GHSA-m6mh-2hw2-555xghsaWEB
- rustsec.org/advisories/RUSTSEC-2026-0213.htmlghsaWEB
News mentions
0No linked articles in our index yet.