# CVE-2026-111713: tarteaucitron.js before 1.37.0 XSS via getElemAttr Attribute Validation Mismatch

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-10-16T17:40:02.702Z
- Modified: 2026-10-20T16:17:00.280Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- AmauriC tarteaucitron.js: from 1.20.1 before 1.37.0

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `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`
- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/AmauriC/tarteaucitron.js/commit/068653bd47f5d4a493251ca8e15bd2b0be9b544f> (patch)
- <https://github.com/AmauriC/tarteaucitron.js/releases/tag/v1.37.0> (release-notes)
- <https://github.com/AmauriC/tarteaucitron.js/blob/v1.36.0/tarteaucitron.js#L2641-L2648> (technical-description)
- <https://github.com/AmauriC/tarteaucitron.js/compare/v1.36.0...v1.37.0> (technical-description)
- <https://www.vulncheck.com/advisories/tarteaucitron-js-before-1.37.0-xss-via-getelemattr-attribute-validation-mismatch> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-111713](https://www.cve.org/CVERecord?id=CVE-2026-111713), CVE Terms of Use, modified 2026-10-20
- NVD: [CVE-2026-111713](https://nvd.nist.gov/vuln/detail/CVE-2026-111713), Public domain, modified 2026-10-20

---

Page: https://cve.day/CVE-2026-111713 · Whole record: https://cve.day/CVE-2026-111713.json · Rebuilt by cve.day 2026-11-25T22:59:45.103Z
