{"id":"CVE-2026-111713","published":"2026-10-16T17:40:02Z","modified":"2026-10-20T15:07:35Z","title":"tarteaucitron.js before 1.37.0 XSS via getElemAttr Attribute Validation Mismatch","vendor":"AmauriC","product":"tarteaucitron.js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00171,"percentile":0.06672,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/AmauriC/tarteaucitron.js/commit/068653bd47f5d4a493251ca8e15bd2b0be9b544f","tags":["patch"]},{"url":"https://github.com/AmauriC/tarteaucitron.js/releases/tag/v1.37.0","tags":["release-notes"]},{"url":"https://github.com/AmauriC/tarteaucitron.js/blob/v1.36.0/tarteaucitron.js#L2641-L2648","tags":["technical-description"]},{"url":"https://github.com/AmauriC/tarteaucitron.js/compare/v1.36.0...v1.37.0","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/tarteaucitron-js-before-1.37.0-xss-via-getelemattr-attribute-validation-mismatch","tags":["third-party-advisory"]}],"priority":{"score":5.1,"factors":[{"name":"EPSS percentile","points":1.33},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"amauric","affectedVersions":[{"vendor":"AmauriC","product":"tarteaucitron.js","versions":[">= 1.20.1, < 1.37.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-20T15:07:28.108823Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-103005","exploited":false,"provenance":"source"}}