Skip to main content

CVE-2026-111713: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in AmauriC tarteaucitron.js

0
Medium
Published: 10/16/2026 (10/16/2026, 18:34:55 UTC)
Source: CVE Database V5
Vendor/Project: AmauriC
Product: tarteaucitron.js

Description

tarteaucitron.js versions from 1.20.1 up to but not including 1.37.0 contain a cross-site scripting (XSS) vulnerability. The issue arises because the function getElemAttr processes 'data-' prefixed attributes differently than the https-only guard, allowing an attacker with the ability to insert markup (e.g., CMS authors) to inject a javascript: URL via a data-url attribute. This can lead to script execution in the context of the affected site through an iframe src attribute. The vulnerability has a medium severity with a CVSS 4.0 score of 5.1.

CVSS v4.0

Score 5.1medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

AmauriC

tarteaucitron.js

Affected versions
>=1.20.1 <1.37.0
GitHub Actionsmore threats →cve
tarteaucitron.js
pkg:github/tarteaucitron.js
Affected versions
>=1.20.1 <1.37.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/16/2026, 18:04:03 UTC

Technical Analysis

CVE-2026-111713 is a cross-site scripting vulnerability in tarteaucitron.js before version 1.37.0. The root cause is inconsistent handling of 'data-' prefixed attributes by the getElemAttr function compared to the https-only guard, which only validates the unprefixed attribute. This discrepancy allows attackers who can insert markup (such as CMS authors) to add a data-url attribute containing a javascript: URL alongside a benign URL. This results in script execution within the site's origin via an iframe src, potentially compromising the security context of the web page.

Potential Impact

Successful exploitation allows an attacker with the ability to insert markup to execute arbitrary JavaScript in the context of the vulnerable website. This can lead to unauthorized actions or data exposure within the site's origin. The impact is limited by the requirement that the attacker must have some level of content insertion capability (e.g., CMS author privileges). There are no known exploits in the wild at this time.

Mitigation Recommendations

A fix is available in tarteaucitron.js version 1.37.0 and later. Users should upgrade to version 1.37.0 or newer to remediate this vulnerability. Until then, restrict permissions to insert markup in the CMS or other content management interfaces to trusted users only. Patch status is confirmed by the version range affected and the fixed version stated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-10-16T14:31:23.499Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ad2641d2cdf04f656199d3d

Added to database: 10/16/2026, 17:51:25 UTC

Last enriched: 10/16/2026, 18:04:03 UTC

Last updated: 10/16/2026, 23:10:48 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses