Regular Expression Denial of Service in markdown
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- —
- Fix status
- No fix listed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-400.
Summary
All versions of `markdown` are vulnerable to Regular Expression Denial of Service (ReDoS). The `markdown.toHTML()` function has significantly degraded performance when parsing long strings containing underscores. This may lead to Denial of Service if the parser accepts user input. ## Recommendation No fix is currently available. Consider using an alternative package until a fix is made available.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | markdown (npm) | 0.0.0 and later | — | No fix listed | GHSA-wx77-rp39-c6vg |
- markdown (npm) Vendor— Affected 0.0.0 and later Fixed in — No fix listed GHSA-wx77-rp39-c6vg
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-03 Threatist record created from GHSA-wx77-rp39-c6vg
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences