{"id":"CVE-2026-111713","revision":"15cb7aec061540b89dfb6a8233434407","records":[{"revision":"15cb7aec061540b89dfb6a8233434407","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-111713","aliases":[],"title":"tarteaucitron.js before 1.37.0 XSS via getElemAttr Attribute Validation Mismatch","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.","state":0,"publishedAt":"2026-10-16T17:40:02.702+00:00","modifiedAt":"2026-10-20T15:07:35.987+00:00","affected":[{"ecosystem":"Vendor product","name":"tarteaucitron.js","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"AmauriC\",\n                    \"product\": \"tarteaucitron.js\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"1.20.1\",\n                            \"lessThan\": \"1.37.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:github/AmauriC/tarteaucitron.js\",\n                    \"repo\": \"https://github.com/AmauriC/tarteaucitron.js\"\n                }"}],"metrics":[{"system":"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,"severity":"MEDIUM"},{"system":"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,"severity":"MEDIUM"}],"references":["https://github.com/AmauriC/tarteaucitron.js/commit/068653bd47f5d4a493251ca8e15bd2b0be9b544f","https://github.com/AmauriC/tarteaucitron.js/releases/tag/v1.37.0","https://github.com/AmauriC/tarteaucitron.js/blob/v1.36.0/tarteaucitron.js#L2641-L2648","https://github.com/AmauriC/tarteaucitron.js/compare/v1.36.0...v1.37.0","https://www.vulncheck.com/advisories/tarteaucitron-js-before-1.37.0-xss-via-getelemattr-attribute-validation-mismatch"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-111713","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-111713","identifiers":["CVE-2026-111713"]},"retained":false,"historicalAffected":[]}],"coverage":[]}