Intel

AIKIDO-2025-10416

ueberdosis/tiptap-php is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jun 27, 2025

51

Medium Risk

This Affects:

PHPueberdosis/tiptap-php
1.0.0 - 1.4.0
Fixed in 2.0.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in anchor tags due to inadequate validation of the href attribute during link rendering. Attackers can exploit this by injecting malicious JavaScript URIs into the href parameter, which executes arbitrary code when users click the compromised link. It occurs because then renderHTML() function merges user-supplied attributes without sanitizing dangerous URL schemes, allowing DOM-based XSS attacks. Successful exploitation could lead to stolen sessions, redirecting users, or performing actions on behalf of authenticated victims.

Who does this affect?

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

Background info

ueberdosis/tiptap-php is vulnerable to Cross-site Scripting (XSS) in versions 1.0.0 - 1.4.0.

How to fix this

Upgrade the ueberdosis/tiptap-php library to the patch version.