Skip to main content
No exploitation reportedFix available

CVE-2026-102342

No exploitation reported by the sources we read.

  • Published2026-10-13
  • Fixed in4.1.4 · 4.0.3 · 3.3.3
  • WeaknessCWE-79

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-10-1315:17CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2026-102342?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2026-102342?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

OSV
ammonia
BranchAffectedFixed in
4.1≥ 4.1.0, < 4.1.44.1.4
4.1≥ 4.1.2, < 4.1.44.1.4
4.0≥ 4.0.0, < 4.0.34.0.3
3.3≥ 0.0.0-0, < 3.3.33.3.3
3.3< 3.3.33.3.3

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Vendor advisories

  • CVE-2026-102342 Red Hat Product Security59 known affected

    ammonia: ammonia: Stored cross-site scripting via SVG animation elements

    ansible-automation-platform/automation-orchestrator-backend-rhel9 as a component of Ansible Automation Orchestrator 2026 · ansible-automation-platform-26/controller-rhel9 as a component of Red Hat Ansible Automation Platform 2 · ansible-automation-platform-26/hub-rhel9 as a component of Red Hat Ansible Automation Platform 2 · +56 more

Full record on NVD

Fix

  1. Update ammonia to 4.1.4 · 4.0.3 · 3.3.3
  2. Workaround from the vendor Red Hat Product Security CVE-2026-102342 · 59 productsA workaround exists for applications that use ammonia: remove the SVG animate and set elements from the sanitizer's allowed-tags configuration. Applications that do not permit these tags are not affected by this flaw. Otherwise, upgrade to an upstream release containing the fix (ammonia 3.3.3, 4.0.…
  3. No fix available, says the vendor Red Hat Product Security CVE-2026-102342 · 59 productsFix deferred

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionnone2026-10-13
  • OpenCVESSVC decisionnone—
  • CNACVSS 3.15.4read 2026-10-23
  • CNAweakness (CWE)CWE-79read 2026-10-23
  • FIRST EPSSEPSS score0.4 %2026-10-23
  • OSVaffected packages—

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Published
2026-10-13
Last Modified
2026-10-16
NVD status
Deferred

Frequently asked questions

What is CVE-2026-102342?

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.

Is CVE-2026-102342 actively exploited?

Active exploitation of CVE-2026-102342 has not been confirmed. Its EPSS score was 0.4% on 2026-10-23, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-102342?

CVE-2026-102342 has a CVSS v3 base score of 5.4 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Running ammonia? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month