Cross-site scripting in Tiptap mergeAttributes() via __proto__ key
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Tiptap @tiptap/core from 2.0.0-alpha.0 before 3.30.4 contains a cross-site scripting flaw in mergeAttributes(). A __proto__ key in untrusted JSON attribute data replaces the merged object's prototype (CWE-1321), so DOMSerializer.renderSpec renders injected event handlers. An unauthenticated remote attacker can cause JavaScript to run when a user interacts with the page.
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ueberdosis | tiptap | 2.0.0-alpha.0 to before 3.30.4 | 3.30.4 | Patch available | CNA |
- tiptap Vendorueberdosis Affected 2.0.0-alpha.0 to before 3.30.4 Fixed in 3.30.4 Patch available CNA
Remediation
Update @tiptap/core to version 3.30.4.
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
- Fix · CNA tiptap (ueberdosis) Fixed in 3.30.4
Timeline
- 2026-11-19 Threatist record created from CVE-2026-133170
- 2026-11-19 Alias added: GHSA-cpr8-g2pc-v2f3
References
More ueberdosis vulnerabilities
- TI-2026-94644 Inefficient regex in Tiptap @tiptap/core Markdown attribute parsing CVSS 4.0MEDIUM 6.9
- TI-2026-34706 Tiptap for PHP < 2.1.1 DoS via Malformed href Attribute CVSS 4.0HIGH 7.1
Sources
- CVE-2026-133170 · CVE Program
- CVE-2026-133170 · NVD
- FIRST EPSS
- GHSA-cpr8-g2pc-v2f3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences