Cross-Site Scripting in tarteaucitron.js Version Prior to 1.37.0 by AmauriC
CVE-2026-111713
5.1MEDIUM
What is CVE-2026-111713?
The tarteaucitron.js library prior to version 1.37.0 is susceptible to a Cross-Site Scripting vulnerability due to an inconsistency in how it validates 'data-' prefixed attributes with the https-only enforcement for unprefixed attributes. This flaw can be exploited by malicious actors, particularly by those who manage the content management system, allowing them to inject a ādata-urlā attribute containing a harmful JavaScript URL alongside a legitimate one. This could lead to the execution of unauthorized scripts within the siteās origin through an iframe, posing serious security risks.
Affected Version(s)
tarteaucitron.js 1.20.1 < 1.37.0
