Skip to main content

Tiptap CVE-2026-133171

| EUVDEUVD-2026-130208 MEDIUM
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-11-19 VulnCheck GHSA-fm92-wq4p-m6f4
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify app parsing untrusted Markdown
  2. Delivery
    Craft long attribute string payload
  3. Exploit
    Submit via document/comment/API
  4. Execution
    Trigger quadratic regex backtracking
  5. Impact
    Exhaust CPU, block event loop/UI thread

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitable only when the application parses attacker-controlled Markdown through @tiptap/core's default attribute parsers - specifically createBlockMarkdownSpec or createAtomBlockMarkdownSpec (Pandoc-style block attributes) or createInlineMarkdownSpec (shortcode inline attributes) - on versions 3.7.0 through before 3.30.5. The attacker needs no authentication or user interaction and only supplies a small crafted attribute string (repeated '__QUOTED_0' placeholder prefixes for the block path, or a long equals-free word-character run for the inline path). Key LIMITING factor: per the advisory, editors that only consume validated ProseMirror JSON and never invoke the Markdown parsing path are not directly affected through document content, so applications that do not route untrusted input through these helpers are out of scope.

Impact

This is a genuine but moderate-priority availability issue, not a drop-everything emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) shows a remote, unauthenticated, low-complexity trigger, but impact is confined to availability (VC:N/VI:N/VA:L, SC/SI/SA:N) - a CPU-exhaustion ReDoS with no confidentiality or integrity effect, consistent with CWE-1333 and the 6.9 score. The vuln.today priority is 'this_month' (not act_now/emergency), aligning with that bounded impact. No CISA KEV listing and no EPSS probability were supplied, so there is no signal of active or widespread exploitation; however, the GHSA advisory publishes complete, working proof-of-concept scripts with measured timings (e.g. ~1.4 s for a 20 KB atom-block token, ~2.21 s for a 32 KB inline token against unmodified npm builds), so exploit know-how is fully public. The signals are internally consistent: high reachability, low-complexity, public PoC, but low technical impact (DoS only) and a narrow precondition - the application must actually route attacker-controlled Markdown through the vulnerable parser helpers. Net: credible and easy to trigger where applicable, but it degrades availability rather than compromising data, so treat as scheduled remediation unless the affected parsing path faces untrusted input in a latency-sensitive service.

Exploit ScenarioDerived

An application uses Tiptap's Markdown parsing helpers (createBlockMarkdownSpec/createAtomBlockMarkdownSpec/createInlineMarkdownSpec) on attacker-supplied Markdown - for example a comment, document, or API payload. The attacker submits a small input containing a long crafted attribute string (e.g. repeated '__QUOTED_0' prefixes or a long unterminated key run), and quadratic regex backtracking stalls the browser main thread or server event loop for seconds. Complete working PoC scripts for both the block and inline paths are published in the GHSA advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 19, 2026

Regular expression denial of service in @tiptap/core versions 3.7.0 through before 3.30.5 lets remote attackers block a browser main thread, worker, or server event loop by supplying Markdown containing a crafted attribute string. Only applications that route untrusted Markdown through the library's default attribute parsers - createBlockMarkdownSpec and createAtomBlockMarkdownSpec (Pandoc-style block attributes) or createInlineMarkdownSpec (shortcode inline attributes) - are exposed; editors that consume only validated ProseMirror JSON and never invoke the Markdown parsing path are not directly affected through document content. Exploitation requires no authentication or user interaction (CVSS:4.0 base 6.9; assessed CVSS:3.1 AV:N/AC:L/PR:N/UI:N with availability-only, low impact), and the advisory itself publishes a public proof-of-concept reference reproducing multi-second stalls from inputs of roughly 20-33 KB; that reference is a demonstrated parser-timing harness rather than confirmed exploit code, and there is no CISA KEV entry or other indication of active exploitation. The vendor has released a fix in 3.30.5, and the overall priority is a genuine but moderate availability issue rather than a drop-everything emergency.

RemediationAI

Upgrade @tiptap/core to 3.30.5 or later (fixed release https://github.com/ueberdosis/tiptap/releases/tag/v3.30.5, patch commit https://github.com/ueberdosis/tiptap/commit/d0d499be3cce633cf54ca9aa9f3d8a5a1f98bd74), and update @tiptap/extension-mention in the same pass since the changeset bumps it alongside core; the fix anchors both key-value expressions to a start-of-string or whitespace boundary and replaces the placeholder-based multi-pass parser, so behaviour can change slightly for inputs that previously matched mid-word key-value patterns, which the new regression tests document. If upgrading is delayed, the practical compensating control is to keep untrusted Markdown away from these helpers entirely: only feed validated ProseMirror JSON into the editor and reject or strip raw Markdown attribute strings before they reach createBlockMarkdownSpec, createAtomBlockMarkdownSpec or createInlineMarkdownSpec, since the advisory states that JSON-only consumers are not directly affected - the trade-off is loss of the Markdown import path for untrusted content. For server-side or headless parsing that must stay enabled, run tokenization in a worker or child process with a hard timeout and input-length caps (the proof-of-concept reaches multi-second stalls around 20-33 KB of attributes) so a quadratic parse cannot block the main event loop, accepting added latency and process-management complexity. Admission-layer filtering of inputs containing long runs of 'Q' word-characters or very long equals-free attribute runs reduces exposure but is a brittle, bypassable heuristic that should not substitute for the version upgrade. Monitor the vendor advisory GHSA-j95f-988m-3j2f for any follow-up releases or additional guidance.

Affected VersionsENISA

tiptap 3.13.0 <3.30.5
tiptap 3.7.0 <3.30.5

Affected Packages

npm @tiptap/core fix: 3.30.5
euvd tiptap fix: 3.30.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-1333 (inefficient regular expression complexity), tracked in the advisory alongside CWE-400, and lives in two unanchored greedy regular expressions introduced by commit 35645d94ae9cd73448a564104c2e08f64e9564bc on 14 October 2025 and first shipped in 3.7.0. The block path in packages/core/src/utilities/markdown/attributeUtils.ts uses /([a-zA-Z][\w-]*)\s*=\s*(__QUOTED_\d+__)/g with both matchAll and a later replace cleanup pass: for input such as '__QUOTED_0'.repeat(n) + '__QUOTED_0__' there are no surrounding quotes, so the placeholder substitution leaves the string unchanged, and at each 'Q' the greedy key-name group consumes the remaining word-character run, the mandatory equals sign fails, and the unanchored engine restarts at the next character, producing O(n^2) work that the cleanup pass repeats. The inline path in createInlineMarkdownSpec.ts uses /(\w+)=(?:"([^"]*)"|'([^']*)')/g, where a long word-character run with no equals sign causes the same restart-from-next-position behaviour. parseShortcodeAttributes and parseAttributes are the exported entry points, and createBlockMarkdownSpec, createAtomBlockMarkdownSpec and createInlineMarkdownSpec expose them through their markdownTokenizer implementations. The vendor fix (commit d0d499be3cce633cf54ca9aa9f3d8a5a1f98bd74) requires a start-of-string or whitespace boundary before both key-value parsers, removes the multi-pass placeholder design, and adds regression tests covering attribute-boundary parsing, forged '__QUOTED_n__' placeholders, and mixed quote types inside quoted values.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Remote attacker-controlled Markdown triggers deterministic quadratic backtracking with no auth or interaction (AV:N/AC:L/PR:N/UI:N); impact is CPU exhaustion only, so C:N/I:N and A:L.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Tiptap @tiptap/core 3.7.0 before 3.30.5 contains a regular expression denial of service vulnerability in parseAttributes and parseShortcodeAttributes that allows attackers to exhaust CPU through quadratic backtracking. Attackers can supply Markdown with long crafted attribute strings parsed by createBlockMarkdownSpec, createAtomBlockMarkdownSpec or createInlineMarkdownSpec to stall browser pages or server processes.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 npm packages depend on @tiptap/core (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 3.7.0.

Threat Intelligence Overview

EPSS Score
0.5%
Top 54% exploitable
Prevalence
Medium
popular JS rich-text editor library; vulnerable Markdown-parsing path only in recent 3.7.0+ releases
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy