Description
<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.
Recommendation
Update the @tinacms/web-components package to the latest compatible version. Followings are version details:
- Affected version(s): <= 0.2.0
- Patched version(s): 0.2.1
References
Could your website be exposed too?
SmartScanner can check your website for @tinacms/web-components: `tina-markdown` writes rich-text link URLs into `href` without scheme validation, allowing stor and gives you actionable findings to investigate.
Start a free scanRelated Issues
- TinaCMS rich-text (slatejson) rendering does not sanitize link/image URLs, allowing stored XSS via dangerous URL schemes - CVE-2026-55661
- TinaCMS rich-text (slatejson) rendering does not sanitize link/image URLs, allowing stored XSS via dangerous URL schemes - @tinacms/mdx - CVE-2026-55661
- @nuxtjs/mdc's URL sanitizer misses SVG xlink:href and data:text/html, allowing XSS from untrusted markdown at the defaul - CVE-2026-63671
- Jodit has incomplete javascript: scheme normalization in sanitizeHTMLElement href check that allows link XSS - CVE-2026-62324


