What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: AmauriC tarteaucitron.js 1.37.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-111713 or the next vulnerability affects your stack