GHSA-cp6q-959q-f8rh: Tiptap: mergeAttributes() turns an own __proto__ key into inherited executable DOM attributes
Summary
A bug in Tiptap's mergeAttributes() function allows attackers to manipulate an object's prototype (the internal template that defines inherited properties) by passing a JSON object with a `__proto__` key. When this manipulated object is used to create DOM elements in ProseMirror (a document editing library), the hidden inherited properties can be converted into HTML attributes like event handlers, potentially allowing attackers to run malicious JavaScript code.
Solution / Mitigation
The source recommends: 'Reject `__proto__` before reading or assigning the key, or define copied keys as own data properties without invoking legacy setters. A minimal hardening is to skip `key === '__proto__'`. Add regression tests using an own JSON-origin `__proto__` key and assert that the result keeps `Object.prototype` as its prototype, exposes no inherited attacker keys, and cannot create an event-handler attribute through `DOMSerializer`.' No fixed release version is mentioned in the source.
Classification
Affected Vendors
Affected Packages
Related Issues
CVE-2026-63086: text-generation-inference through 3.3.7 contains a server-side request forgery (SSRF) vulnerability in the OpenAI-compat
CVE-2026-34371: LibreChat is a ChatGPT clone with additional features. Prior to 0.8.4, LibreChat trusts the name field returned by the e
Original source: https://github.com/advisories/GHSA-cp6q-959q-f8rh
First tracked: September 2, 2026 at 02:00 PM
Classified by LLM (prompt v3) · confidence: 75%