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

Medium 5.1 Published Updated

Attackers with markup insertion privileges can execute arbitrary JavaScript in the site's origin via a mismatch in attribute validation for iframe sources.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-111713?

CVE-2026-111713 is a medium-severity cross-site scripting vulnerability in AmauriC tarteaucitron.js, published on 16 Oct 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

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

Weakness: CWE-79

Which versions are affected by CVE-2026-111713?

How do I fix CVE-2026-111713?

No fix has been published for CVE-2026-111713 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-111713 being exploited?

There is no known exploitation of CVE-2026-111713 in the wild and no public exploit code.

Sources

Also known as GHSA-rfp9-xrhw-w637.

Is CVE-2026-111713 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free