Vulnerability · Published Oct 16, 2026 · Assigned by VulnCheck

CVE-2026-111713tarteaucitron.js before 1.37.0 XSS via getElemAttr Attribute Validation Mismatch

Medium 5.4

In plain English

A medium-severity cross-site scripting in tarteaucitron.js from AmauriC. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities).

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.2%top 93.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

tarteaucitron.js before 1.37.0 contains a cross-site scripting vulnerability because getElemAttr resolves 'data-' prefixed attributes while the https-only guard validates the unprefixed attribute. Attackers who can place markup, such as CMS authors, can add data-url with a javascript: URL beside a benign url to execute script in the site's origin via iframe src.

Affected products (as reported)

VendorProductVersions
AmauriC tarteaucitron.js 1.20.1 – before 1.37.0

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

References