@tiptap/core is vulnerable to Regular Expression Denial of Service (ReDoS)
53
CVE Score
Medium
Regular Expression Denial of Service (ReDoS)
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.
Upgrade the @tiptap/core library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application parses untrusted or Markdown content.
3.7.0 - 3.30.4
Fixed in 3.30.5@tiptap/core is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 3.7.0 - 3.30.4.
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.
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.