CVE-2026-2327
JSON

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 packageVersionsReported by
markdown-itfrom 13.0.0 before 14.1.1CVE List
markdown-it (npm)from 13.0.0 before 14.1.1GitHub Advisory Database
markdown-it_project markdown-itfrom 13.0.0 before 14.1.1NVD

All scores

snyk6.9medium CVSS:4.0CVSS: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
snyk5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHubmedium CVSS:4.0CVSS: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
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-1333

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

SourceRecordLicence
CVE ListCVE-2026-2327 changed 2026-02-12CVE Terms of Use
GitHub Advisory DatabaseGHSA-38c4-r59v-3vqw changed 2026-09-10CC-BY-4.0
NVDCVE-2026-2327 changed 2026-06-17Public domain