@tiptap/extension-link vulnerable to Cross-site Scripting (XSS)
Low severity
GitHub Reviewed
Published
Dec 9, 2025
to the GitHub Advisory Database
•
Updated Dec 10, 2025
Description
Published by the National Vulnerability Database
Dec 9, 2025
Published to the GitHub Advisory Database
Dec 9, 2025
Reviewed
Dec 10, 2025
Last updated
Dec 10, 2025
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.
References