tarteaucitron.js before 1.37.0 XSS via getElemAttr Attribute Validation Mismatch
AmauriC tarteaucitron.js
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| AmauriC tarteaucitron.js |
| No fix yet |
Original 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.
From the CVE record · VulnCheck