Skip to content
OpenAdvisories
High · 7.6 CVE-2026-108260 EUVD-2026-95989GHSA-c42q-qvc3-j6vg

@tinacms/web-components: `tina-markdown` writes rich-text link URLs into `href` without scheme validation, allowing stored XSS

Published Oct 9, 2026 · Updated Oct 13, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
tinacms tinacms < 3.14.0 —
@tinacms web-components < 0.2.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @tinacms/web-components < 0.2.1 0.2.1 GHSA-c42q-qvc3-j6vg

References