5.4
MEDIUM CVSS 3.1
CVE-2026-102342
ammonia allows stored XSS through unsanitized SVG animate and set attributes
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.

INFO

Published Date :

Oct. 13, 2026, 3:17 p.m.

Last Modified :

Oct. 16, 2026, 8:04 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-102342 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Ammonia_project ammonia
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 MEDIUM github
CVSS 3.1 MEDIUM [email protected]
Solution
Update the product to a patched version to prevent stored XSS via SVG animate and set tags.
  • Update to a patched version (3.3.3, 4.0.3, or 4.1.4).
  • Disable animate and set SVG tags.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-102342 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-102342 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-102342 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-102342 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 13, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-102342', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-10-13T20:13:15.972756Z'}
  • New CVE Received by [email protected]

    Oct. 13, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    Added CWE CWE-79
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/102xxx/CVE-2026-102342.json">CVE-2026-102342</a>
    Added Reference https://github.com/rust-ammonia/ammonia/commit/9394bd81179e756cb911314deabd943f1a9c8989
    Added Reference https://github.com/rust-ammonia/ammonia/commit/9e3335e2dd8ab07346ff7997f20662a3da4023f6
    Added Reference https://github.com/rust-ammonia/ammonia/commit/d2ae1547f478bd84d158bc5e57f5d31437dc4d8d
    Added Reference https://github.com/rust-ammonia/ammonia/pull/250
    Added Reference https://github.com/rust-ammonia/ammonia/pull/251
    Added Reference https://github.com/rust-ammonia/ammonia/pull/252
    Added Reference https://github.com/rust-ammonia/ammonia/releases/tag/v3.3.3
    Added Reference https://github.com/rust-ammonia/ammonia/releases/tag/v4.0.3
    Added Reference https://github.com/rust-ammonia/ammonia/releases/tag/v4.1.4
    Added Reference https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-m6mh-2hw2-555x
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.