markdown-it html_re.js redos
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-1333.
Summary
A vulnerability was found in markdown-it up to 2.x. It has been classified as problematic. Affected is an unknown function of the file lib/common/html_re.js. The manipulation leads to inefficient regular expression complexity. Upgrading to version 3.0.0 is able to address this issue. The name of the patch is 89c8620157d6e38f9872811620d25138fc9d1b0d. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-216852.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | markdown-it | 2.x | — | No fix listed | CNA |
| — | markdown-it (npm) | before 3.0.0 | 3.0.0 | Patch available | GHSA-j5p7-jf4q-742q |
- markdown-it Vendor— Affected 2.x Fixed in — No fix listed CNA
- markdown-it (npm) Vendor— Affected before 3.0.0 Fixed in 3.0.0 Patch available GHSA-j5p7-jf4q-742q
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:markdown-it_project:markdown-it:*:*:*:*:*:*:*:* | before 3.0.0 | Vulnerable | Markdown-it Project |
- cpe:2.3:a:markdown-it_project:markdown-it:*:*:*:*:*:*:*:* Versions before 3.0.0 Vulnerable ·Markdown-it Project
Remediation
- Fix · GHSA-j5p7-jf4q-742q markdown-it (npm) Fixed in 3.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2015-10005
- 2026-10-03 Alias added: GHSA-j5p7-jf4q-742q
References
More Markdown-it Project Markdown-it vulnerabilities
- TI-2026-01967 Regular expression denial of service in markdown-it CVSS 4.0MEDIUM 6.9
- TI-2025-07289 Markdown-it 14.1.0 - Cross-site scripting (XSS) CVSS 4.0MEDIUM 6.9
- TI-2026-36244 markdown-it: Quadratic complexity DoS in smartquotes rule via replaceAt string operations CVSS 3.1MEDIUM 5.3
- TI-2022-06047 Uncontrolled Resource Consumption in markdown-it CVSS 3.1MEDIUM 5.3
- TI-2015-02915 markdown-it before 4.1.0 does not block data: URLs. CVSS 3.0MEDIUM 5.3
Sources
- CVE-2015-10005 · CVE Program
- CVE-2015-10005 · NVD
- FIRST EPSS
- GHSA-j5p7-jf4q-742q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences