Read the docs

Cross-site scripting in Tiptap mergeAttributes() via __proto__ key

Priority LOW 12CWE-1321Published · Updated

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

EPSS 0.00319 17th percentileScored 2026-11-30
Fix Fixed tiptap (ueberdosis): 3.30.4

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ueberdosistiptap2.0.0-alpha.0 to before 3.30.43.30.4Patch availableCNA
  • 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

  1. 2026-11-19 Threatist record created from CVE-2026-133170
  2. 2026-11-19 Alias added: GHSA-cpr8-g2pc-v2f3

References

  • 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