GHSA-38c4-r59v-3vqw

Suggest an improvement
Source
https://github.com/advisories/GHSA-38c4-r59v-3vqw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-38c4-r59v-3vqw/GHSA-38c4-r59v-3vqw.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-38c4-r59v-3vqw
Aliases
Downstream
Related
Published
2026-02-12T06:30:13Z
Modified
2026-02-21T07:50:37.687172Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 5.5 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
markdown-it is has a Regular Expression Denial of Service (ReDoS)
Details

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.

Database specific
{
    "severity": "MODERATE",
    "cwe_ids": [
        "CWE-1333"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-02-13T20:04:39Z",
    "nvd_published_at": "2026-02-12T06:16:02Z"
}
References

Affected packages

npm / markdown-it

Package

Affected ranges

Type
SEMVER
Events
Introduced
13.0.0
Fixed
14.1.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-38c4-r59v-3vqw/GHSA-38c4-r59v-3vqw.json"