Vulnerability · Published Oct 9, 2026 · Assigned by GitHub_M
CVE-2026-108260@tinacms/web-components: `tina-markdown` writes rich-text link URLs into `href` without scheme validation, allowing stored XSS
High 7.6
In plain English
A high-severity cross-site scripting in tinacms from tinacms. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @tinacms/web-components | 0.2.1 | GHSA-c42q-qvc3-j6vg |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| tinacms | tinacms | < 3.14.0 |
| @tinacms | web-components | < 0.2.1 |
Weakness: CWE-79, CWE-83 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
References
- https://github.com/tinacms/tinacms/security/advisories/GHSA-c42q-qvc3-j6vg x_refsource_CONFIRM
- https://github.com/tinacms/tinacms/pull/7523 x_refsource_MISC
- https://github.com/tinacms/tinacms/commit/5295e077f0d279c35686a0e481a15e33a4877e3b x_refsource_MISC
- https://github.com/tinacms/tinacms/releases/tag/@tinacms/web-components@0.2.1 x_refsource_MISC