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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | @tiptap/extension-link | < 2.10.4 |
References
- https://gist.github.com/th4s1s/3d1b6cd3e7257b14947242f712ec6e1fExploit, Third Party Advisory
- https://github.com/ueberdosis/tiptap/commit/1c2fefe3d61ab1c8fbaa6d6b597251e1b6d9aaedPatch
- https://github.com/ueberdosis/tiptap/releases/tag/v2.10.4Release Notes
- https://security.snyk.io/vuln/SNYK-JS-TIPTAPEXTENSIONLINK-14222197Third Party Advisory
- https://gist.github.com/th4s1s/3d1b6cd3e7257b14947242f712ec6e1fExploit, Third Party Advisory
Timeline
- Published
- Dec 9, 2025
- Last modified
- Oct 14, 2026
- NVD status
- Analyzed