Rust ammonia: Prior to 3.3.3, 4.0.3, and 4.1.4, applications that allow the SVG animate or set elements can retain an
Affects rust-ammoniaSource GCVE Database
Not known to be exploited · CVSS 5.4 Medium · fixed in 3.3.3 : update rust-ammonia when convenient.
Data as of 24 Nov 2026, 22:28 UTC
- Patch
- Available – fixed in 3.3.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10rust-ammoniapkg:deb/ubuntu/rust-ammonia?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSrust-ammoniapkg:deb/ubuntu/rust-ammonia?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSrust-ammoniapkg:deb/ubuntu/rust-ammonia?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSrust-ammoniapkg:deb/ubuntu/rust-ammonia?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-102342 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-102342 (opens in a new tab)
- github.com/rust-ammonia/ammonia/commit/9394bd81179e756cb911314deabd943f1a9c8989 (opens in a new tab)
- github.com/rust-ammonia/ammonia/commit/9e3335e2dd8ab07346ff7997f20662a3da4023f6 (opens in a new tab)
- github.com/rust-ammonia/ammonia/commit/d2ae1547f478bd84d158bc5e57f5d31437dc4d8d (opens in a new tab)
- github.com/rust-ammonia/ammonia/pull/250 (opens in a new tab)
- github.com/rust-ammonia/ammonia/pull/251 (opens in a new tab)
- github.com/rust-ammonia/ammonia/pull/252 (opens in a new tab)
- github.com/rust-ammonia/ammonia/releases/tag/v3.3.3 (opens in a new tab)
- github.com/rust-ammonia/ammonia/releases/tag/v4.0.3 (opens in a new tab)
- github.com/rust-ammonia/ammonia/releases/tag/v4.1.4 (opens in a new tab)
- github.com/rust-ammonia/ammonia/security/advisories/GHSA-m6mh-2hw2-555x (opens in a new tab)