{"cve":"CVE-2026-102342","nvd":{"published":"2026-10-13T15:17:30.177","modified":"2026-10-16T20:04:29.760","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://github.com/rust-ammonia/ammonia/commit/9394bd81179e756cb911314deabd943f1a9c8989","https://github.com/rust-ammonia/ammonia/commit/9e3335e2dd8ab07346ff7997f20662a3da4023f6","https://github.com/rust-ammonia/ammonia/commit/d2ae1547f478bd84d158bc5e57f5d31437dc4d8d","https://github.com/rust-ammonia/ammonia/pull/250","https://github.com/rust-ammonia/ammonia/pull/251"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:58:52.678897993+00:00"},"epss":{"cve":"CVE-2026-102342","score":0.00272,"percentile":0.19359,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-m6mh-2hw2-555x","url":"https://osv.dev/vulnerability/GHSA-m6mh-2hw2-555x","summary":"Ammonia: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","modified":"2026-09-29T23:25:44.070111673Z","packages":[{"ecosystem":"crates.io","name":"ammonia","purl":"pkg:cargo/ammonia","ranges":["<3.3.3"],"fixed":["3.3.3"]},{"ecosystem":"crates.io","name":"ammonia","purl":"pkg:cargo/ammonia","ranges":[">=4.0.0 <4.0.3"],"fixed":["4.0.3"]},{"ecosystem":"crates.io","name":"ammonia","purl":"pkg:cargo/ammonia","ranges":[">=4.1.2 <4.1.4"],"fixed":["4.1.4"]}]},{"id":"RUSTSEC-2026-0213","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0213","summary":"XSS in ammonia via SVG `animate` and `set` animation tags","modified":"2026-09-30T07:15:39Z","packages":[{"ecosystem":"crates.io","name":"ammonia","purl":"pkg:cargo/ammonia","ranges":[">=0.0.0-0 <3.3.3",">=4.0.0 <4.0.3",">=4.1.0 <4.1.4"],"fixed":["3.3.3","4.0.3","4.1.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}