Ammonia: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Moderate severity
GitHub Reviewed
Published
Jul 22, 2026
in
rust-ammonia/ammonia
•
Updated Sep 29, 2026
Package
Affected versions
< 3.3.2
>= 4.0.0, <= 4.0.2
>= 4.1.2, <= 4.1.3
Patched versions
3.3.3
4.0.3
4.1.4
Description
Published to the GitHub Advisory Database
Sep 29, 2026
Reviewed
Sep 29, 2026
Last updated
Sep 29, 2026
The following SVG will produce a link with a
javascriptscheme. If the user clicks this link, they will run it.Impact
Allows stored XSS in applications that allow the
animateandsettags.Patches
Fixed in 3.3.3, 4.0.3, and 4.1.4
Workarounds
Do not enable the
animateorsettags.References