CVE-2026-108260: @tinacms/web-components: `tina-markdown` writes rich-text link URLs into `href` without scheme validation, allowing stored XSS
<tina-markdown> renders a rich-text AST into the DOM and, for a nodes, assigns the node’s URL straight to the anchor’s href with no scheme check. A link authored in the CMS as javascript:… renders as a live javascript: anchor, so a visitor who clicks it executes attacker-supplied script in the site’s origin. Every sibling renderer in the repository already sanitizes these URLs; this one does not.
References
- github.com/advisories/GHSA-c42q-qvc3-j6vg
- github.com/tinacms/tinacms/commit/5295e077f0d279c35686a0e481a15e33a4877e3b
- github.com/tinacms/tinacms/pull/7523
- github.com/tinacms/tinacms/releases/tag/@tinacms/web-components@0.2.1
- github.com/tinacms/tinacms/security/advisories/GHSA-c42q-qvc3-j6vg
- nvd.nist.gov/vuln/detail/CVE-2026-108260
Code Behaviors & Features
Detect and mitigate CVE-2026-108260 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →