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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
ueberdosis tiptap
Default version status: unaffected
2.0.0-alpha.0 to < 3.30.4affected
pkg:npm/%40tiptap/coreReferences
- https://github.com/ueberdosis/tiptap/security/advisories/GHSA-cp6q-959q-f8rh ↗
- https://github.com/ueberdosis/tiptap/commit/01d7af8c983ee5954c63734f4fa46cb23ae3246d ↗
- https://github.com/ueberdosis/tiptap/releases/tag/v3.30.4 ↗
- https://www.vulncheck.com/advisories/tiptap-tiptap-core-2.0.0-alpha.0-before-3.30.4-xss-via-mergeattributes-prototype-manipulation ↗