Skip to content

[GHSA-cp6q-959q-f8rh] Tiptap: mergeAttributes() turns an own __proto__ key into inherited executable DOM attributes - #9393

Open
gnapse wants to merge 1 commit into
gnapse/advisory-improvement-9393from
gnapse-GHSA-cp6q-959q-f8rh
Open

[GHSA-cp6q-959q-f8rh] Tiptap: mergeAttributes() turns an own __proto__ key into inherited executable DOM attributes#9393
gnapse wants to merge 1 commit into
gnapse/advisory-improvement-9393from
gnapse-GHSA-cp6q-959q-f8rh

Conversation

@gnapse

@gnapse gnapse commented Sep 7, 2026

Copy link
Copy Markdown

Updates

  • Affected products
  • Description

Comments
Tiptap backported the mergeAttributes prototype-manipulation fix to the v2 release line in @tiptap/core 2.27.3. The current advisory only identifies 3.30.4 as patched, which causes Dependabot to continue reporting 2.27.3 as vulnerable.

The 2.27.3 changelog explicitly documents this fix:
https://github.com/ueberdosis/tiptap/blob/0ed4a30a6cda23799a01881f67d01ad218a2ac6d/packages/core/CHANGELOG.md#2273

@github

github commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Hi there @bdbch! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.

This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory

Copilot AI balanced review requested due to automatic review settings September 7, 2026 15:24
@github-actions
github-actions Bot changed the base branch from main to gnapse/advisory-improvement-9393 September 7, 2026 15:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The new v3 range incorrectly excludes vulnerable 3.0.0 prereleases.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the Tiptap advisory to recognize the v2 backported security fix.

Changes:

  • Marks 2.27.3 and 3.30.4 as fixed versions.
  • Updates the affected-version description.
File summaries
File Description
GHSA-cp6q-959q-f8rh.json Updates Tiptap affected ranges and remediation details.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.0.0"

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I verified that 3.0.0-beta.0 already contains the vulnerable mergeAttributes implementation. Please change the v3 range’s introduced version from 3.0.0 to 3.0.0-beta.0.

I cannot do it myself. The GitHub UI won't let me:

CleanShot 2026-09-07 at 1 15 03 PM@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants