Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-102342
Published:October 13, 2026
Updated:October 14, 2026
ammonia is a Rust library for repairing and securing untrusted HTML. Prior to 3.3.3, 4.0.3, and 4.1.4, applications that allow the SVG animate or set elements can retain an animation whose attributeName targets href and whose value uses the javascript scheme. The sanitized SVG can therefore create a script-bearing link, and a user who clicks the link can execute attacker-controlled script in the application's origin, enabling stored cross-site scripting. This issue is fixed in versions 3.3.3, 4.0.3, and 4.1.4.
Affected Packages
https://github.com/rust-ammonia/ammonia.git (GITHUB):
Affected version(s) >=v3.0.0 <v3.3.3
Fix Suggestion:
Update to version v3.3.3
https://github.com/rust-ammonia/ammonia.git (GITHUB):
Affected version(s) >=v4.0.0 <v4.0.3
Fix Suggestion:
Update to version v4.0.3
https://github.com/rust-ammonia/ammonia.git (GITHUB):
Affected version(s) >=v4.1.0 <v4.1.4
Fix Suggestion:
Update to version v4.1.4
ammonia (RUST):
Affected version(s) >=4.1.0 <4.1.4
Fix Suggestion:
Update to version 4.1.4
ammonia (RUST):
Affected version(s) >=4.0.0 <4.0.3
Fix Suggestion:
Update to version 4.0.3
ammonia (RUST):
Affected version(s) >=3.0.0 <3.3.3
Fix Suggestion:
Update to version 3.3.3
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')