Description
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.
Metrics
CVSS 3.1 4.7/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ueberdosis | tiptap | >= 2.0.0-alpha.0, < 3.30.4 |
References
- https://github.com/ueberdosis/tiptap/commit/01d7af8c983ee5954c63734f4fa46cb23ae3246d
- https://github.com/ueberdosis/tiptap/releases/tag/v3.30.4
- https://github.com/ueberdosis/tiptap/security/advisories/GHSA-cp6q-959q-f8rh
- https://www.vulncheck.com/advisories/tiptap-tiptap-core-2.0.0-alpha.0-before-3.30.4-xss-via-mergeattributes-prototype-manipulation
Timeline
- Published
- Nov 19, 2026
- Last modified
- Dec 4, 2026
- NVD status
- Awaiting Analysis