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

Published Oct 16, 2026
·
Updated

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.

Affected Software

1 affected component
tarteaucitron.js tarteaucitron.js<1.37.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade tarteaucitron.js to a version that resolves this vulnerability.

    Fixed in 1.37.0

Event History

Oct 16, 2026
CVE Published
via MITRE·05:40 PM
Data Sourced
via MITRE·05:40 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:17 PM
DescriptionSeverityWeakness
Oct 17, 2026
Event
via NVD·10:01 PM

Frequently Asked Questions

1

Who can realistically exploit this issue?

An attacker needs the ability to place markup in content processed by tarteaucitron.js, such as a CMS author. The attack also requires a victim to interact with the crafted content.

2

What markup condition triggers the vulnerability?

The attacker can supply a data-url attribute containing a javascript: URL alongside a benign unprefixed url attribute. The unprefixed attribute passes the HTTPS-only validation, while getElemAttr resolves the data-url value for the iframe src.

3

Which versions should be remediated?

Versions before 1.37.0 are affected. Update tarteaucitron.js to version 1.37.0 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203