Intel

AIKIDO-2024-10556

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

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Dec 20, 2024

46

Medium Risk

This Affects:

JS@tiptap/extension-link
2.0.0 - 2.10.3
Fixed in 2.10.4
Are you affected? Scan for Free

TL;DR

Affected versions of this package do not validate link protocols before setting or toggling links, making them vulnerable to Cross-site Scripting (XSS). Attackers can exploit this flaw to inject malicious scripts, potentially compromising user data or executing unauthorized actions.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@tiptap/extension-link is vulnerable to Cross-site Scripting (XSS) in versions 2.0.0 - 2.10.3.

How to fix this

Upgrade the @tiptap/extension-link library to the patch version.