Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-111713 EUVD-2026-103005GHSA-rfp9-xrhw-w637

tarteaucitron.js before 1.37.0 XSS via getElemAttr Attribute Validation Mismatch

Published Oct 16, 2026 · Updated Oct 20, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
AmauriC tarteaucitron.js 1.20.1 – < 1.37.0 1.37.0

References