Quick answers
- Is CVE-2026-2327 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-2327 being exploited in the wild.
- How severe is CVE-2026-2327?
- Low severity, with a CVSS score of 3.1, published 12 February 2026.
- Which products and versions are affected?
- markdown-it (npm) SEMVER:introduced=13.0.0,fixed=14.1.1.
- Is there a fix for CVE-2026-2327?
- Yes. markdown-it (npm): upgrade to 14.1.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-2327 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-2327?
- Check whether you run markdown-it (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- markdown-it (npm): upgrade to 14.1.1 or later
npm install markdown-it@14.1.1
Technical details
The vulnerability is a Regular Expression Denial of Service (ReDoS) vulnerability in the linkify function, specifically in the regex pattern /*+$/ used to strip trailing asterisks from detected URLs. The vulnerable code exists in versions 13.0.0 through 14.1.0. An attacker can supply a string like "https://test.com?" followed by thousands of asterisks and a non-matching character (e.g., 'a'), which causes catastrophic backtracking in the regex engine as it attempts to match the pattern. The attack requires no authentication and can be triggered remotely by any user who can submit markdown content to an application using the vulnerable library with linkify enabled. Processing a maliciously crafted input can cause the application to hang, consuming significant CPU resources. The vulnerability was fixed in version 14.1.1 by optimizing the regex pattern to avoid excessive backtracking.
Affected products
- markdown-it markdown-it 13.0.0 to 14.1.0
Identifiers
- CVE-2026-2327
- GHSA-38c4-r59v-3vqw
Timeline
- 2025-07-05: disclosed
- 2026-02-12: advisory
- 2026-02-13: patched: Fixed in version 14.1.1
References
- https://github.com/markdown-it/markdown-it/commit/4b4bbcae5e0990a5b172378e507b33a59012ed26
- https://gist.github.com/ltduc147/c9abecae1b291ede4f692f2ab988c917
- https://github.com/markdown-it/markdown-it
- https://github.com/markdown-it/markdown-it/blob/14.1.0/lib/rules_inline/linkify.mjs
- https://security.snyk.io/vuln/SNYK-JS-MARKDOWNIT-10666750