Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
2.3
tiptap core can let attackers run code in browsers
published 14 days ago
Summary
The Tiptap @tiptap/core library (versions from 2.0.0-alpha.0 up to 3.30.3) lets a malicious user insert specially crafted data that changes how the library builds web page elements, causing unwanted JavaScript to run. This could let attackers perform actions on behalf of users viewing the site. Update the library to version 3.30.4 or later, or apply the vendor’s recommended patch, to stop this behavior.
What to do
- Update tiptap @tiptap/core to version 3.30.4.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| npm | tiptap | @tiptap/core |
>= 2.0.0-alpha.0, < 3.30.4 Fix: upgrade to 3.30.4
|
Original advisory text
Tiptap @tiptap/core 2.0.0-alpha.0 before 3.30.4 XSS via mergeAttributes() Prototype Manipulation
Tiptap @tiptap/core 2.0.0-alpha.0 before 3.30.4 contains a cross-site scripting vulnerability that allows attackers to inject DOM attributes via a __proto__ key passed to mergeAttributes(). Attackers can supply untrusted JSON attribute data whose __proto__ replaces the merged object's prototype, causing DOMSerializer.renderSpec to render injected event handlers that execute JavaScript.
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Severity
2.3
Low
Type
CWE-1321Prototype Pollution
CWE-79Cross-site Scripting (XSS)
Timeline
Published19 Nov 2026
Updated1 Dec 2026
First seen2 Sep 2026
Sources
GHSA-cp6q-959q-f8rh · OSV
Track software like this
Free during beta