Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-2327
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 20:40 UTC · Revision 1
Source evidence
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.
osv:CVE-2026-2327
Complete source record
{
"id": "a99bea73c5e4a810ecfeac37f659e54ead7a7ab45972bd741f014b5895fc3314",
"url": "https://osv.dev/vulnerability/CVE-2026-2327",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2026-2327",
"summary": "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.",
"evidence": "osv:CVE-2026-2327",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-2327",
"aliases": [
"CVE-2026-2327",
"GHSA-38c4-r59v-3vqw"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/markdown-it/markdown-it",
"type": "GIT",
"events": [
{
"introduced": "6ec0b76ebe439f5858ae51d8e0cb45ee4a7ad46c"
},
{
"fixed": "b4a9b659ef5734223731cfaa3ad5eacc6fc22918"
},
{
"fixed": "4b4bbcae5e0990a5b172378e507b33a59012ed26"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:markdown-it_project:markdown-it:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "13.0.0"
},
{
"fixed": "14.1.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "4b4bbcae5e0990a5b172378e507b33a59012ed26"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"14.1.0",
"14.0.0",
"13.0.2",
"13.0.1",
"13.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2327.json"
}
}
],
"modified": "2026-10-28T02:30:23.747202819Z",
"provider": "osv",
"references": [
"https://gist.github.com/ltduc147/c9abecae1b291ede4f692f2ab988c917",
"https://github.com/markdown-it/markdown-it/blob/14.1.0/lib/rules_inline/linkify.mjs%23L33",
"https://security.snyk.io/vuln/SNYK-JS-MARKDOWNIT-10666750",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2327.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-2327",
"https://github.com/markdown-it/markdown-it/commit/4b4bbcae5e0990a5b172378e507b33a59012ed26"
],
"provider_metadata": {
"cwe_ids": [
"CWE-1333"
],
"cna_assigner": "snyk",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2327.json"
}
},
"related_cves": [
{
"value": "CVE-2026-2327",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 489967,
"published_at": "2026-02-12T05:00:07.369+00:00"
}