{"id":"CVE-2026-111713","aliases":["CVE-2026-111713"],"related":[],"kind":"vulnerability","state":"published","title":"tarteaucitron.js before 1.37.0 XSS via getElemAttr Attribute Validation Mismatch","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-16T17:40:02.702Z","modified":"2026-10-20T16:17:00.280Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","score":5.1,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"1.20.1","fixed":"1.37.0","status":"affected"}],"vendor":"AmauriC","product":"tarteaucitron.js","repo":"https://github.com/AmauriC/tarteaucitron.js","source":"cvelist"}],"references":[{"url":"https://github.com/AmauriC/tarteaucitron.js/commit/068653bd47f5d4a493251ca8e15bd2b0be9b544f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/AmauriC/tarteaucitron.js/releases/tag/v1.37.0","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/AmauriC/tarteaucitron.js/blob/v1.36.0/tarteaucitron.js#L2641-L2648","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/AmauriC/tarteaucitron.js/compare/v1.36.0...v1.37.0","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/tarteaucitron-js-before-1.37.0-xss-via-getelemattr-attribute-validation-mismatch","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Zachariah Mithani"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-20T15:07:28.108Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-111713","url":"https://www.cve.org/CVERecord?id=CVE-2026-111713","licence":"CVE Terms of Use","modified":"2026-10-20T15:07:35.987Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-111713","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111713","licence":"Public domain","modified":"2026-10-20T16:17:00.280Z"}],"updatedAt":"2026-11-25T22:59:45.103Z","epss":{"score":0.00171,"percentile":0.0679,"date":"2026-12-01T12:00:22.000Z"}}