CVE Catalog

CVE-2026-111713

MediumCVSS 5.4
Published: Updated: Translated: NVD NIST

Summary

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.

Risk Assessment

An attacker can execute arbitrary JavaScript in the site's context, potentially leading to session theft, content modification, or other attacks. This requires the ability to place markup, e.g., by a CMS author.

Recommendation

Update tarteaucitron.js to version 1.37.0 or later. Until then, consider restricting markup placement capabilities for untrusted users.

Other vulnerabilities in tarteaucitron.js

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS