Skip to main content

Tiptap Core CVE-2026-133170

| EUVDEUVD-2026-130209 LOW
Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution) (CWE-1321)
2026-11-19 VulnCheck GHSA-cpr8-g2pc-v2f3
2.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft JSON with own __proto__ attributes
  2. Delivery
    Deliver via untrusted document/API boundary
  3. Exploit
    App calls mergeAttributes(), prototype replaced
  4. Execution
    DOMSerializer renders inherited onerror handler
  5. Impact
    JavaScript executes in victim origin

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a chain of app-specific preconditions, not just network reach: (1) the application must pass untrusted JSON attribute data (imported document, plugin, CMS, API, tenant, or AI-derived objects) into @tiptap/core's mergeAttributes(); (2) the application must use a dynamic or custom Tiptap extension/schema that PRESERVES the relevant attribute object - the advisory explicitly notes Tiptap's standard fixed ProseMirror schemas discard unknown document attributes, so arbitrary Tiptap JSON is NOT automatically exploitable in default configurations; and (3) a victim must render/serialize the content through DOMSerializer so the inherited onerror executes. Limiting factors confirmed by the CVSS vector and advisory: high attack complexity (AC:H), a specific attack requirement (AT:P), and passive user interaction (UI:P, victim must view the content). The complete fix is updating to @tiptap/core 3.30.4, which defines the __proto__ key as an own data property; the advisory's interim hardening is to reject/skip the __proto__ key before reading or assigning it.

Impact

All signals point to a genuinely low-priority issue. The vendor CVSS 4.0 base score is 2.3 (Low) with vector AV:N/AC:H/AT:P/PR:N/UI:P and only Low vulnerable/subsequent-system impacts (VC:L/VI:L/SC:L/SI:L, VA/SA:N): network-reachable but gated by high attack complexity, a specific attack requirement (AT:P), and required user interaction. The vuln.today Decision label is 'monitor', consistent with that low score. No EPSS score and no KEV listing were provided, so there is no evidence of active exploitation - this is not actively exploited (not in CISA KEV). The GHSA advisory contains a working browser proof-of-concept (an <img> whose inherited onerror fired once), so a public PoC reference exists; it is not provided as a confirmed packaged exploit. The dominant limiting factor is not the CVSS math but the precondition chain: the advisory states Tiptap's standard fixed ProseMirror schemas discard unknown attributes, so default deployments are not automatically exploitable - a vulnerable app needs an untrusted-attribute boundary into mergeAttributes() plus a dynamic/custom extension or schema that preserves the attribute object. One data tension to verify: the GHSA narrative body says 'No fixed release was found,' yet the package metadata, patch commit 01d7af8c, and release tag v3.30.4 all confirm a fix in 3.30.4 - the advisory prose appears to predate the release. Net: a real but low-urgency, config-dependent XSS/prototype-manipulation bug, not a high-CVSS-but-overrated emergency; patch on a normal cycle.

Exploit ScenarioDerived

An attacker supplies untrusted attribute data - e.g. an imported document, CMS/API/tenant payload, or AI-derived JSON - containing an own "__proto__" key carrying src and onerror values. If the application feeds that object into @tiptap/core's mergeAttributes() through a custom or dynamic schema that preserves the attribute object, the merged object's prototype is replaced, and when a victim renders the content ProseMirror's DOMSerializer.renderSpec copies the inherited onerror onto an <img>, executing JavaScript in the application's origin. A working browser PoC is published in the GHSA advisory, but AC:H and required user interaction (the victim must view the rendered content) make opportunistic exploitation difficult.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 19, 2026

Cross-site scripting in Tiptap's @tiptap/core (2.0.0-alpha.0 through 3.29.x, fixed in 3.30.4) allows an attacker who supplies untrusted JSON attribute data to mergeAttributes() to include an own __proto__ key that replaces the merged object's prototype, so hidden src and onerror values are later emitted as real DOM attributes by ProseMirror's DOMSerializer.renderSpec() and execute JavaScript in the application's origin. The flaw is not automatically reachable: exploitation requires an untrusted object boundary feeding mergeAttributes() and a dynamic or custom Tiptap extension/schema that preserves the attribute object, since standard fixed ProseMirror schemas discard unknown document attributes, and a victim must still render or serialize the content. No public exploit code has been identified at time of analysis; the reporter kept the finding private, and the current priority is monitor-level rather than emergency patching.

RemediationAI

Upgrade @tiptap/core to 3.30.4, the release that fixes the issue; the change (https://github.com/ueberdosis/tiptap/commit/01d7af8c983ee5954c63734f4fa46cb23ae3246d, tagged https://github.com/ueberdosis/tiptap/releases/tag/v3.30.4) detects a __proto__ key in mergeAttributes() and defines it with Object.defineProperty as an own, enumerable, configurable, writable data property so the legacy prototype setter is never invoked. Where upgrading is temporarily impossible, apply the advisory's interim hardening in the local copy of mergeAttributes(): either skip the key entirely when key === '__proto__', or convert it to an own data property before assignment - the trade-off is that skipping drops a legitimate (if unusual) attribute named __proto__ from the merged output, whereas defining it as an own data property keeps the key enumerable and visible to downstream code, so any consumer that renders arbitrary attribute names should still be reviewed. Reduce exposure by not feeding untrusted imported document, plugin, CMS, API, tenant or AI-derived objects into mergeAttributes(), and by relying on fixed ProseMirror schemas that discard unknown attributes rather than dynamic ones that preserve the attribute object. Full details and the regression test are in the GitHub advisory GHSA-cp6q-959q-f8rh and the VulnCheck advisory https://www.vulncheck.com/advisories/tiptap-tiptap-core-2.0.0-alpha.0-before-3.30.4-xss-via-mergeattributes-prototype-manipulation.

Affected VersionsENISA

tiptap 2.0.0-alpha.0 <3.30.4

Affected Packages

npm @tiptap/core fix: 2.27.3, 3.30.4
euvd tiptap fix: 3.30.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-1321 (improperly controlled modification of object prototype attributes), chained into CWE-79 (cross-site scripting). @tiptap/core's exported mergeAttributes() helper iterates Object.entries() over the supplied objects and performs plain bracket assignment on a freshly created merged object. Because Object.entries(JSON.parse('{"__proto__": {...}}')) yields an own __proto__ key, reading mergedAttributes['__proto__'] resolves the inherited Object.prototype accessor and assigning to it invokes the legacy prototype setter, replacing the merged object's prototype with the attacker-supplied object. The result looks empty to Object.keys() and ordinary own-property checks, so upstream validation, object spread, logging and JSON serialization all miss the inherited values. When that object is used as a ProseMirror DOMOutputSpec attribute object, prosemirror-model's DOMSerializer.renderSpec() enumerates it with for...in and copies inherited values via setAttribute(), turning inherited src/onerror into a live event handler. The reporter demonstrated this against exact @tiptap/core 3.29.2 with prosemirror-model 1.25.11 in Chromium, where the handler fired exactly once, and explicitly confirmed that this is per-object prototype manipulation that does not modify the global Object.prototype. The unsafe assignment was introduced in commit ecadf7ea0a7f8f39a8496a60edf0ac8f379e6eb3 and shipped from the first package tag onward.

Know when Prototype Pollution gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 2.3 LOW
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
vuln.today AI 4.7 MEDIUM

Network-reachable but needs an untrusted boundary plus a custom attribute-preserving schema (AC:H) and victim rendering (UI:R); script runs in the browser context (S:C) with limited C/I and no availability impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Medium
popular headless rich-text editor library, not infrastructure-ubiquitous
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2026-34621 HIGH POC
8.6 Apr 11

Prototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu

CVE-2021-23450 CRITICAL POC
9.8 Dec 17

All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (

CVE-2024-56059 CRITICAL
9.8 Dec 18

Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau

CVE-2021-23383 CRITICAL POC
9.8 May 04

The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co

CVE-2020-7788 CRITICAL POC
9.8 Dec 11

This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2020-28271 CRITICAL POC
9.8 Nov 12

Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service

CVE-2023-38894 CRITICAL POC
9.8 Aug 16

A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi

CVE-2024-24292 CRITICAL POC
9.8 Mar 28

A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function

CVE-2023-26121 CRITICAL POC
10.0 Apr 11

All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s

CVE-2021-23449 CRITICAL POC
10.0 Oct 18

This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr

CVE-2024-39011 CRITICAL POC
9.8 Jul 30

Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser

CVE-2024-38988 CRITICAL POC
9.8 Mar 28

alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy