CVE-2026-111713
tarteaucitron.js before 1.37.0 XSS via getElemAttr Attribute Validation Mismatch
CVSS Score
5.4
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-79 |
| Vendor | amauric |
| Product | tarteaucitron.js |
| Published | Oct 16, 2026 |
Stay Ahead of the Next One
Get instant alerts for amauric tarteaucitron.js
Be the first to know when new medium vulnerabilities affecting amauric tarteaucitron.js are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Affected Versions
AmauriC / tarteaucitron.js
1.20.1 < 1.37.0
References
github.com: https://github.com/AmauriC/tarteaucitron.js/commit/068653bd47f5d4a493251ca8e15bd2b0be9b544f github.com: https://github.com/AmauriC/tarteaucitron.js/releases/tag/v1.37.0 github.com: https://github.com/AmauriC/tarteaucitron.js/blob/v1.36.0/tarteaucitron.js#L2641-L2648 github.com: https://github.com/AmauriC/tarteaucitron.js/compare/v1.36.0...v1.37.0 vulncheck.com: https://www.vulncheck.com/advisories/tarteaucitron-js-before-1.37.0-xss-via-getelemattr-attribute-validation-mismatch
Credits
Zachariah Mithani