@tiptap/core is vulnerable to Prototype Pollution
72
High Risk
The mergeAttributes() helper in @tiptap/core assigns attribute keys from an object without filtering the __proto__ key. Processing document or API data that contains an own __proto__ property invokes the legacy prototype setter and injects values into an object's prototype. When the resulting object is rendered as a ProseMirror DOM output attribute set, inherited properties are applied via setAttribute, executing JavaScript in the application origin. The fix skips the __proto__ key during attribute merging.
You are affected if you are using a version that falls within the vulnerable range and your application merges untrusted document or API data into editor node attributes.
@tiptap/core is vulnerable to Prototype Pollution in versions 2.0.0 - 3.30.3.
Upgrade the @tiptap/core library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.