CVE-2026-111713
tarteaucitron.js before 1.37.0 contains a cross-site scripting …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/AmauriC/tarteaucitron.js/blob/v1.36.0/tarteaucitron.js#L2641-L2648
- github.com/AmauriC/tarteaucitron.js/commit/068653bd47f5d4a493251ca8e15bd2b0be9b544f
- github.com/AmauriC/tarteaucitron.js/compare/v1.36.0...v1.37.0
- github.com/AmauriC/tarteaucitron.js/releases/tag/v1.37.0
- www.vulncheck.com/advisories/tarteaucitron-js-before-1.37.0-xss-via-getelemattr-attribute-
- nvd.nist.gov/vuln/detail/CVE-2026-111713
- cve.org/CVERecord?id=CVE-2026-111713
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.