Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @tiptap/core
  4. ›
  5. GHSA-j95f-988m-3j2f

GHSA-j95f-988m-3j2f: Tiptap: Quadratic ReDoS in block and inline Markdown attribute parsing

September 8, 2026

@tiptap/core contains two quadratic regular-expression denial-of-service paths in its default Markdown attribute parsers. Pandoc-style block attributes use two unanchored greedy expressions that rescan repeated __QUOTED_0 prefixes. Inline shortcode attributes use another unanchored greedy key expression that rescans a long word-character run when no equals sign follows.

The public createAtomBlockMarkdownSpec and createBlockMarkdownSpec helpers call the vulnerable Pandoc-style parser; createInlineMarkdownSpec calls the separately vulnerable shortcode parser. Using unmodified npm 3.29.2, a complete 20,508-byte atom-block token took approximately 1.40 seconds while an equal-length control took 0.29 ms. A complete 32,776-byte inline token took approximately 2.21 seconds while its equal-length control took 0.19 ms. Current repository main commit 5158212970344952dd9918b6a44bfb400d7fb6c1 retains both expressions.

References

  • github.com/advisories/GHSA-j95f-988m-3j2f
  • github.com/ueberdosis/tiptap/commit/d0d499be3cce633cf54ca9aa9f3d8a5a1f98bd74
  • github.com/ueberdosis/tiptap/releases/tag/v3.30.5
  • github.com/ueberdosis/tiptap/security/advisories/GHSA-j95f-988m-3j2f

Code Behaviors & Features

Detect and mitigate GHSA-j95f-988m-3j2f with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.7.0 before 3.30.5

Fixed versions

  • 3.30.5

Solution

Upgrade to version 3.30.5 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity
  • CWE-400: Uncontrolled Resource Consumption

Source file

npm/@tiptap/core/GHSA-j95f-988m-3j2f.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:31 +0000.