Tiptap Extension Link
CVE-2025-14284
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker injects javascript: payload into link href
-
DeliveryPayload persists in editor state
-
ExploitVictim loads editor containing malicious link
-
ExecutionVictim interacts with link
-
PersistArbitrary JavaScript executes in victim's browser context
-
ImpactAttacker 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
NVD
CVE.org
EPSS
GitHub
Exploit-DB