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.
Published: 2026-10-09
Score: 7.6 High
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Immediate Patch
AI Analysis

Impact

The vuln arises when the tina‑markdown Web Component assigns a rich‑text link URL directly to an anchor's href attribute without validating the URL scheme. A content author can embed a link that begins with a script‑capable scheme, and a user who clicks the link will have attacker‑controlled code executed in the context of the site’s origin. The malicious script can read same‑origin data, decrypt stored credentials, and manipulate the UI for editors or administrators.

Affected Systems

The affected product is the @tinacms/web-components library, part of the Tina CMS ecosystem. Versions before @tinacms/web-components@0.2.1 expose the flaw; the upgrade to 0.2.1 fixes the issue.

Risk and Exploitability

The CVSS score of 7.6 indicates a high severity. No EPSS information is available, and the vulnerability is not listed in the CISA KEV catalog. Attackers need to author a malicious link and rely on the target user clicking it; once the script runs, it can access sensitive data and compromise editor or administrator sessions. The likelihood of exploitation is moderate, especially in sites that allow user‑generated content without strict URL validation.

Generated by OpenCVE AI on October 9, 2026 at 22:51 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade @tinacms/web-components to version 0.2.1 or later.
  • Remove or sanitize any existing stored links that use unsafe schemes.
  • Configure the Tinacms editor to validate URL schemes, allowing only http, https, mailto, etc.
  • Consider enabling a strong Content‑Security‑Policy to mitigate potential script execution.

Generated by OpenCVE AI on October 9, 2026 at 22:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-c42q-qvc3-j6vg @tinacms/web-components: `tina-markdown` writes rich-text link URLs into `href` without scheme validation, allowing stored XSS
History

Tue, 13 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 11 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
First Time appeared Tina
Tina tinacms
Tina web-components
Vendors & Products Tina
Tina tinacms
Tina web-components

Fri, 09 Oct 2026 21:00:00 +0000

Type Values Removed Values Added
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.
Title @tinacms/web-components: `tina-markdown` writes rich-text link URLs into `href` without scheme validation, allowing stored XSS
Weaknesses CWE-79
CWE-83
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N'}


Subscriptions

Tina Tinacms Web-components
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-13T15:17:14.297Z

Reserved: 2026-10-09T17:33:15.409Z

Link: CVE-2026-108260

cve-icon Vulnrichment

Updated: 2026-10-13T15:16:46.937Z

cve-icon NVD

Status : Deferred

Published: 2026-10-09T21:17:04.180

Modified: 2026-10-16T20:04:29.760

Link: CVE-2026-108260

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-11T12:25:41Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-83

    Improper Neutralization of Script in Attributes in a Web Page