6.9medium
markdown-it is has a Regular Expression Denial of Service (ReDoS)
- Severity
- 6.9medium CVSS:4.0 by snyk
- Exploit likelihood
- 1.03% (higher than 63% of CVEs)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-38c4-r59v-3vqw
Description
Versions of the package markdown-it from 13.0.0 and before 14.1.1 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the use of the regex /\*+$/ in the linkify function. An attacker can supply a long sequence of * characters followed by a non-matching character, which triggers excessive backtracking and may lead to a denial-of-service condition.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| markdown-it | from 13.0.0 before 14.1.1 | CVE List |
| markdown-it (npm) | from 13.0.0 before 14.1.1 | GitHub Advisory Database |
| markdown-it_project markdown-it | from 13.0.0 before 14.1.1 | NVD |
All scores
| snyk | 6.9medium CVSS:4.0 | 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/E:P |
| snyk | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | medium CVSS:4.0 | 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/E:P |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
Versions of the package markdown-it from 13.0.0 and before 14.1.1 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the use of the regex /\*+$/ in the linkify function. An attacker can supply a long sequence of * characters followed by a non-matching character, which triggers excessive backtracking and may lead to a denial-of-service condition.
NVD (es)
Versiones del paquete markdown-it desde la 13.0.0 y anteriores a la 14.1.1 son vulnerables a la Denegación de Servicio por Expresiones Regulares (ReDoS) debido al uso de la expresión regular /\*+$/ en la función linkify. Un atacante puede proporcionar una secuencia larga de caracteres * seguida de un carácter no coincidente, lo que desencadena un retroceso excesivo y puede conducir a una condición de denegación de servicio.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-2327 changed 2026-02-12 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-38c4-r59v-3vqw changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-2327 changed 2026-06-17 | Public domain |