CVE-2026-111713

tarteaucitron.js before 1.37.0 XSS via getElemAttr Attribute Validation Mismatch

Published Oct 16, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title tarteaucitron.js before 1.37.0 XSS via getElemAttr Attribute Validation Mismatch
First Time appeared Amauri
Amauri tarteaucitronjs
Weaknesses CWE-79
CPEs cpe:2.3:a:amauri:tarteaucitronjs:*:*:*:*:*:*:*:*
Vendors & Products Amauri
Amauri tarteaucitronjs
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 20, 2026, 3:07 PM
Reserved
Oct 16, 2026, 2:31 PM
Status
Awaiting Analysis
Published
Oct 16, 2026, 6:17 PM
Modified
Oct 20, 2026, 4:17 PM