@tiptap/core is vulnerable to Regular Expression Denial of Service (ReDoS)
53
Medium Risk
Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in the default Markdown attribute parsers used by createBlockMarkdownSpec, createAtomBlockMarkdownSpec, and createInlineMarkdownSpec. The block-attribute parser uses unanchored greedy expressions that rescan repeated quoted prefixes, and the inline shortcode parser rescans a greedy word-character pattern when no equals sign follows, both producing quadratic complexity. Supplying crafted Markdown input causes excessive backtracking that can block the browser thread, server event loop, or worker. The fix replaces the multi-pass regex parsers with deterministic single-pass tokenizers.
You are affected if you are using a version that falls within the vulnerable range and you parse untrusted Markdown input through the default Markdown attribute specs.
@tiptap/core is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 3.7.0 - 3.30.4.
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.