Untriaged
Permalink
CVE-2026-2327
5.3 MEDIUM
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): LOW
- Privileges required (PR): NONE
- User interaction (UI): NONE
- Scope (S): UNCHANGED
- Confidentiality impact (C): NONE
- Integrity impact (I): NONE
- Availability impact (A): LOW
Versions of the package markdown-it from 13.0.0 and before 14.1.1 …
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.
References
- https://security.snyk.io/vuln/SNYK-JS-MARKDOWNIT-10666750
- https://gist.github.com/ltduc147/c9abecae1b291ede4f692f2ab988c917
- https://github.com/markdown-it/markdown-it/blob/14.1.0/lib/rules_inline/linkify…
- https://github.com/markdown-it/markdown-it/commit/4b4bbcae5e0990a5b172378e507b3…
- https://gist.github.com/ltduc147/c9abecae1b291ede4f692f2ab988c917 exploit
- https://security.snyk.io/vuln/SNYK-JS-MARKDOWNIT-10666750 exploit
Affected products
markdown-it
- <14.1.1
Matching in nixpkgs
pkgs.python312Packages.markdown-it-py
Markdown parser in Python
pkgs.python313Packages.markdown-it-py
Markdown parser in Python
pkgs.python314Packages.markdown-it-py
Markdown parser in Python
Package maintainers
-
@bhipple Benjamin Hipple <bhipple@protonmail.com>