CVE-2026-102342

MEDIUM CVSS 3.1: 5.4 EPSS 0.27%
Updated Oct 16, 2026
ammonia
Parameter Value
CVSS 5.4 (MEDIUM)
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor ammonia
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1