Skip to content
OpenAdvisories
Medium · 6.1 CVE-2025-14284 EUVD-2025-201879GHSA-vhrc-hgrq-x75r

@tiptap/extension-link vulnerable to Cross-site Scripting (XSS)

Published Dec 9, 2025 · Updated Dec 9, 2025 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— @tiptap/extension-link < 2.10.4 2.10.4

Affected packages

EcosystemPackageAffectedFixedRecord
npm @tiptap/extension-link < 2.10.4 2.10.4 GHSA-vhrc-hgrq-x75r

References