Skip to main content
← All vulnerabilities
CVE-2026-111713

tarteaucitron.js before 1.37.0 XSS via getElemAttr Attribute Validation Mismatch

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.37.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • AmauriC tarteaucitron.js

    From 1.20.1 · fixed in 1.37.0

References 5

GitHub · AmauriC/tarteaucitron.js

vulncheck.com