---
title: "GHSA-38c4-r59v-3vqw: markdown-it is has a Regular Expression Denial of Service (ReDoS)"
description: "Moderate severity. markdown-it is has a Regular Expression Denial of Service (ReDoS). Affects markdown-it; fixed in 14.1.1."
url: https://inlinr.com/advisories/GHSA-38c4-r59v-3vqw
lang: en
---

[Packages](https://inlinr.com/packages) / [markdown-it](https://inlinr.com/packages/markdown-it) / [Security](https://inlinr.com/packages/markdown-it/security)

Moderate Vulnerability GHSA-38c4-r59v-3vqw CVE-2026-2327 Published 12 Feb 2026

# markdown-it is has a Regular Expression Denial of Service (ReDoS)

Your version 

Affected releases · [markdown-it](https://inlinr.com/packages/markdown-it)

- 14.x 14.0.0 – 14.1.0 Fixed in 14.1.1
- 13.x 13.0.0 – 13.0.2 No fix on this line yet

On 14.x, the newest line:

```
npm install markdown-it@14.1.1
```

Every release on a timeline

15.x 

1. Not affected

15.0.0 – 15.0.3  
4 releases, latest

14.x 

1. Affected

14.0.0 – 14.1.0  
2 releases
2. Fixed

14.1.1 – 14.3.3  
6 releases

13.x 

1. Affected

13.0.0 – 13.0.2  
3 releases

89 stable releases of markdown-it, oldest to newest, one row per major.

## What happens

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.

## How it is exploited

Exploitable over the network, with no account and no action from a user.

- **Confidentiality**: none
- **Integrity**: none
- **Availability**: low

CVSS:3.1/​AV:N/​AC:L/​PR:N/​UI:N/​S:U/​C:N/​I:N/​A:L

## References

- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-2327 "https://nvd.nist.gov/vuln/detail/CVE-2026-2327")  
nvd.nist.gov/vuln/detail/CVE-2026-2327
- [Fix commit](https://github.com/markdown-it/markdown-it/commit/4b4bbcae5e0990a5b172378e507b33a59012ed26 "https://github.com/markdown-it/markdown-it/commit/4b4bbcae5e0990a5b172378e507b33a59012ed26")  
4b4bbca
- [Reference](https://gist.github.com/ltduc147/c9abecae1b291ede4f692f2ab988c917 "https://gist.github.com/ltduc147/c9abecae1b291ede4f692f2ab988c917")  
gist.github.com/ltduc147/c9abecae1b291ede4f692f…
- [Package](https://github.com/markdown-it/markdown-it "https://github.com/markdown-it/markdown-it")  
github.com/markdown-it/markdown-it
- [Reference](https://github.com/markdown-it/markdown-it/blob/14.1.0/lib/rules%5Finline/linkify.mjs#L33 "https://github.com/markdown-it/markdown-it/blob/14.1.0/lib/rules_inline/linkify.mjs#L33")  
github.com/markdown-it/markdown-it/blob/14.1.0/…
- [Reference](https://security.snyk.io/vuln/SNYK-JS-MARKDOWNIT-10666750 "https://security.snyk.io/vuln/SNYK-JS-MARKDOWNIT-10666750")  
security.snyk.io/vuln/SNYK-JS-MARKDOWNIT-106667…

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
