CVE-2026-111713
published medium CVSS 4.0 · 5.1tarteaucitron.js before 1.37.0 XSS via getElemAttr Attribute Validation Mismatch
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AmauriC | — | tarteaucitron.js1.20.1 to < 1.37.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.4 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| AmauriC | tarteaucitron.js | 1.20.1 to < 1.37.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
5- https://github.com/AmauriC/tarteaucitron.js/blob/v1.36.0/tarteaucitron.js#L2641-L2648
- https://github.com/AmauriC/tarteaucitron.js/commit/068653bd47f5d4a493251ca8e15bd2b0be9b544f
- https://github.com/AmauriC/tarteaucitron.js/compare/v1.36.0...v1.37.0
- tarteaucitron.js v1.37.0 Release Notes https://github.com/AmauriC/tarteaucitron.js/releases/tag/v1.37.0
- VulnCheck Advisory: tarteaucitron.js before 1.37.0 XSS via getElemAttr Attribute Validation Mismatch https://www.vulncheck.com/advisories/tarteaucitron-js-before-1.37.0-xss-via-getelemattr-attribute-validation-mismatch
Provider assertions
2VulnCheck · cna
tarteaucitron.js before 1.37.0 XSS via getElemAttr Attribute Validation Mismatch
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8f4958d9d9cff015a6062a1ab5a3ce514abe21d850889a8ecb69e3af9a22da08
- Ingested
- 20 Oct 2026, 15:25:16 UTC
- Source record
- Official CVE record