Skip to content

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

HighCVSS 7.6 EPSS 0.25%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 1 fixed.

PackageAffectedFixed inStatus
tinacms web-components(npm) < 0.2.1; <= 0.2.0 0.2.1 Fixed
tinacms = < 3.14.0 No fix listed Versions listed
tinacms web-components = < 0.2.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
tinacms = < 3.14.0 No fix listed
tinacms web-components = < 0.2.1 No fix listed
tinacms web-components(npm) <= 0.2.0 No fix listed
tinacms web-components(npm) < 0.2.1 0.2.1

References