Skip to content

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

MediumCVSS 5.1 EPSS 0.17%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
AmauriC tarteaucitron.js >= 1.20.1, < 1.37.0 1.37.0 Fixed

Affected products

ProductAffected versionsFixed in
AmauriC tarteaucitron.js >= 1.20.1, < 1.37.0 1.37.0

References