{"id":"CVE-2026-102342","revision":"57cc90a9003143f19ab3a0fab9339638","records":[{"revision":"57cc90a9003143f19ab3a0fab9339638","observedAt":"2026-10-25T04:17:26.915+00:00","statement":{"source":"nvd","id":"CVE-2026-102342","aliases":[],"title":"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…","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.","state":0,"publishedAt":"2026-10-13T15:17:30.177+00:00","modifiedAt":"2026-10-16T20:04:29.76+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"severity":"MEDIUM"}],"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","https://github.com/rust-ammonia/ammonia/pull/252","https://github.com/rust-ammonia/ammonia/releases/tag/v3.3.3","https://github.com/rust-ammonia/ammonia/releases/tag/v4.0.3","https://github.com/rust-ammonia/ammonia/releases/tag/v4.1.4","https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-m6mh-2hw2-555x"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-102342","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-79"],"productCriteria":[],"sourceDates":{"published":"2026-10-13T15:17:30.177","lastModified":"2026-10-16T20:04:29.760"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-102342","identifiers":["CVE-2026-102342"]},"retained":false,"historicalAffected":[]}],"coverage":[]}