CVE-2025-14284 @tiptap/extension-link vulnerable to Cross-site Scripting (XSS)
Attackers can execute arbitrary JavaScript via unsanitized link inputs in the Tiptap editor, requiring an upgrade to the extension package.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-14284?
CVE-2025-14284 is a medium-severity cross-site scripting vulnerability in @tiptap/extension-link, published on 9 Dec 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2025-14284?
2 open source packages ship an affected version, including @tiptap/extension-link. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@tiptap/extension-link npm | All versions | 2.10.4 |
@tiptap/extension-link npm | All versions | 2.10.4 |
Products include Tiptap Tiptap\/Extension-Link.
How do I fix CVE-2025-14284?
Upgrade @tiptap/extension-link to 2.10.4 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-14284 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-14284 exists.
Sources
Also known as GHSA-vhrc-hgrq-x75r.