Intel

AIKIDO-2026-395472

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

Regular Expression Denial of Service (ReDoS)GHSA-j95f-988m-3j2f Published 2 days ago

53

Medium Risk

This Affects:

JS@tiptap/core
3.7.0 - 3.30.4
Fixed in 3.30.5
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.

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.

Background info

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

How to fix this

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

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform