Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft JSON with own __proto__ attributes
-
DeliveryDeliver via untrusted document/API boundary
-
ExploitApp calls mergeAttributes(), prototype replaced
-
ExecutionDOMSerializer renders inherited onerror handler
-
ImpactJavaScript 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Prototype Pollution
View allPrototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu
All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (
Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau
The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co
This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service
A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi
A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function
All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s
This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr
Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser
alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde
EUVD-2026-130209
GHSA-cpr8-g2pc-v2f3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB