Intel

AIKIDO-2026-395472

@tiptap/core is vulnerable to Regular Expression Denial of Service (ReDoS)

GHSA-j95f-988m-3j2fPublished Sep 1, 2026
September 1, 2026

53

CVE Score

Medium

Regular Expression Denial of Service (ReDoS)

Are you affected? Scan for Free

TL;DR

The @tiptap/core Markdown attribute parsers use unanchored regular expressions when reading Pandoc-style block attributes and inline shortcode attributes. Crafted Markdown input with repeated prefixes and no closing quoted value or equals sign triggers quadratic backtracking, leading to Denial of Service. The fix anchors and bounds the attribute matching expressions to remove the backtracking.

How do I fix this?

Upgrade the @tiptap/core library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application parses untrusted or Markdown content.

Versions

3.7.0 - 3.30.4

Fixed in 3.30.5

Background info

@tiptap/core is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 3.7.0 - 3.30.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea