Skip to main content

Tiptap Extension Link CVE-2025-14284

LOW
Cross-site Scripting (XSS) (CWE-79)
2025-12-09 report@snyk.io
2.0
CVSS 4.0 · Vendor: snyk
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker injects javascript: payload into link href
  2. Delivery
    Payload persists in editor state
  3. Exploit
    Victim loads editor containing malicious link
  4. Execution
    Victim interacts with link
  5. Persist
    Arbitrary JavaScript executes in victim's browser context
  6. Impact
    Attacker steals credentials or redirects to phishing page

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerability requires that a user interact with the malicious link after it is created or toggled in the Tiptap editor. Exploitation occurs when: (1) an attacker can create or modify a link using the @tiptap/extension-link extension with an unsanitized javascript: protocol URL; (2) the crafted editor state is persisted and rendered in another user's browser; and (3) a user interacts with the malicious link (e.g., click, focus, or hover depending on how the application implements link rendering). The vulnerability does NOT require authentication if the editor is publicly accessible, does NOT require special configuration beyond having the link extension enabled, and does NOT depend on non-default settings. The limiting factor is mandatory user interaction-passive viewing of the editor content containing the malicious link may not trigger the payload if the application does not render links in a way that triggers javascript: protocol handlers.

Impact

Despite the relatively low CVSS score of 2.0, this vulnerability presents moderate practical risk. The CVSS vector indicates network accessibility (AV:N), low attack complexity (AC:L), no privileges required (PR:N), but mandatory user interaction (UI:A). The EPSS score of 0.07% (22nd percentile) reflects low probability of automated exploitation, consistent with the UI requirement. However, several factors elevate real-world concern: publicly available exploit code exists, the vulnerability affects a widely-used editor library, and XSS in rich-text editors can lead to session hijacking, credential theft, or malware injection depending on application context. The scope change (S:C) indicates the impact extends beyond the vulnerable component to other security domains. The low integrity impact (VI:L) and limited scope of CVSS do not fully capture the risk if editor content is rendered in trusted contexts. Organizations using Tiptap in content management or collaborative editing scenarios should prioritize patching. The lack of active CISA KEV listing suggests either limited exploit-in-the-wild activity or a very recent disclosure.

Exploit ScenarioDerived

An attacker crafts a malicious Tiptap editor document containing a link with href='javascript:alert(document.cookie)' or similar payload. When the document is shared or loaded by a victim and the victim interacts with the link (hover or click, depending on rendering), the arbitrary JavaScript executes in the victim's browser with the same privileges as the web application. In a collaborative editing or content management context, the attacker could inject a payload that steals session cookies or redirects to a phishing site.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 29, 2026

Stored cross-site scripting (XSS) in @tiptap/extension-link before version 2.10.4 allows attackers to execute arbitrary JavaScript by injecting javascript: URL payloads into link attributes during link creation or modification. The vulnerability requires user interaction to trigger the payload and impacts the integrity of affected web applications. Publicly available exploit code exists, and a vendor-released patch is available in version 2.10.4.

RemediationAI

Upgrade @tiptap/extension-link to version 2.10.4 or later. In package.json, update the dependency specification from any version before 2.10.4 to ^2.10.4 or higher, then run npm install or yarn install to fetch the patched version. For immediate defense-in-depth while awaiting patching, restrict editor access to trusted users only and implement Content Security Policy (CSP) directives that disallow unsafe-inline and script-src to mitigate XSS impact-note that overly restrictive CSP may break editor functionality and requires testing. Additionally, validate and sanitize href attributes at the application layer using a library such as DOMPurify before rendering editor output, and avoid executing or rendering editor state in contexts with elevated privileges. The upstream fix is confirmed in GitHub commit 1c2fefe3d61ab1c8fbaa6d6b597251e1b6d9aaed and details are available in the Snyk advisory at https://security.snyk.io/vuln/SNYK-JS-TIPTAPEXTENSIONLINK-14222197.

Affected Packages

npm @tiptap/extension-link fix: 2.10.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Tiptap is a popular Vue.js and React editor framework built on ProseMirror. The @tiptap/extension-link extension provides rich link editing functionality. The vulnerability stems from insufficient input validation and sanitization (CWE-79: Improper Neutralization of Input During Web Page Generation) when processing href attributes during link creation or toggle operations. The extension fails to sanitize or validate the href value, allowing attackers to inject javascript: protocol URLs that execute arbitrary code when a user interacts with the malicious link. This is a context-dependent XSS where the payload persistence depends on how the editor state is stored and rendered.

Know when Tiptap Extension Link gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (snyk) PRIMARY 2.0 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P

Primary rating from Vendor (snyk) · only source for this CVE.

CVSS VectorVendor: snyk

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

Versions of the package @tiptap/extension-link before 2.10.4 are vulnerable to Cross-site Scripting (XSS) due to unsanitized user input allowed in setting or toggling links. An attacker can execute arbitrary JavaScript code in the context of the application by injecting a javascript: URL payload into these attributes, which is then triggered either by user interaction.

Threat Intelligence Overview

EPSS Score
0.1%
Top 78% exploitable
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)CVE.org

cpe:2.3:a:tiptap:tiptap\/extension-link:*:*:*:*:*:node.js:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy