Tiptap XSS in mergeAttributes() prototype handling
ueberdosis tiptap
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @tiptap/core npm |
|
|
Original 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.
From the CVE record · VulnCheck