Stored XSS via unvalidated link URLs in @tinacms/web-components tina-markdown
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
The tina-markdown element in @tinacms/web-components assigns a rich-text node.url value directly to an anchor href without validating the URL scheme. A content author can store a link using a script-capable scheme, and when a visitor clicks it, the script runs in the site's origin, reads same-origin application data and, if the visitor is an editor or administrator, may expose credentials stored by the TinaCMS admin on that origin. CWE-79 and CWE-83 apply, with a CVSS 3.1 base score of 7.6 (HIGH). CISA has not listed it in KEV, and CISA SSVC rates exploitation as PoC, not automatable, with partial technical impact.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
Tina is a headless content management system. Prior to 0.2.1, the tina-markdown element in packages/@tinacms/web-components/src/tina-markdown.js assigns a rich-text node.url value directly to an anchor href without validating the URL scheme. A content author can store a link using a script-capable scheme, and a visitor who clicks the rendered link executes attacker-controlled script in the site's origin. The script can access same-origin application data and, when the visitor is an editor or administrator, may expose credentials stored by the TinaCMS admin on that origin. This issue is fixed in version 0.2.1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade @tinacms/web-components to version 0.2.1, which fixes the issue. Versions before 0.2.1 are affected.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA tinacms (tinacms) Fixed in 3.14.0
- Fix · CNA web-components (@tinacms) Fixed in 0.2.1
- Fix · GHSA-c42q-qvc3-j6vg @tinacms/web-components (npm) Fixed in 0.2.1 Advisory →
Timeline
- 2026-10-10 Threatist record created from CVE-2026-108260
- 2026-10-10 Alias added: GHSA-c42q-qvc3-j6vg
- 2026-10-10 Fix available: npm/@tinacms/[email protected] · GHSA-c42q-qvc3-j6vg
- 2026-10-10 CVSS score added · GHSA-c42q-qvc3-j6vg
- 2026-10-10 Weakness changed · GHSA-c42q-qvc3-j6vg
- 2026-10-10 5 new references · GHSA-c42q-qvc3-j6vg
- 2026-10-11 Priority changed: MEDIUM → LOW
- 2026-10-13 CISA SSVC decision points changed
- 2026-10-13 Priority changed: LOW → HIGH
References
Other 5
- https://github.com/tinacms/tinacms/security/advisories/GHSA-c42q-qvc3-j6vg
- https://github.com/tinacms/tinacms/pull/7523
- https://github.com/tinacms/tinacms/commit/5295e077f0d279c35686a0e481a15e33a4877e3b
- https://github.com/tinacms/tinacms/releases/tag/@tinacms/[email protected]
- https://github.com/tinacms/tinacms
More tinacms vulnerabilities
- TI-2026-22987 Cross-Origin File Exfiltration via CORS Misconfiguration + Path Traversal in TinaCMS CVSS 3.1CRITICAL 9.7
- TI-2026-70295 TinaCMS admin preview frames attacker-controlled origin CVSS 3.1CRITICAL 9.3
- TI-2026-45239 Tina: [Broken Access Control] letting any TinaCloud user authorize against any self-hosted site CVSS 3.1HIGH 8.8
- TI-2026-26851 @tinacms/graphql's `FilesystemBridge` Path Validation Can Be Bypassed via Symlinks or Junctions CVSS 3.1HIGH 8.8
- TI-2026-22988 Path Traversal Leading to Arbitrary File Read, Write and Delete in TinaCMS CVSS 3.1HIGH 8.4
- TI-2026-70293 Code injection in Tina CLI via unescaped Git branch name CVSS 3.1HIGH 8.2
Sources
- CVE-2026-108260 · CVE Program
- CVE-2026-108260 · NVD
- FIRST EPSS
- GHSA-c42q-qvc3-j6vg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences