markdown-it-py Denial of Service vulnerability in the command line interfaceGHSA-jrwr-5x3p-hvc3
MEDIUMFix: executablebooks/markdown-it-py#247GHSA-jrwr-5x3p-hvc3 is a medium-severity (CVSS 5.5) CWE-173 vulnerability in markdown-it-py. A fix is available for markdown-it-py — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-jrwr-5x3p-hvc3.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
markdown-it-pyReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
Denial of service could be caused to the command line interface of markdown-it-py, before v2.2.0, if an attacker was allowed to use invalid UTF-8 characters as input.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | markdown-it-py | all versions | 2.2.0pip install --upgrade 'markdown-it-py==2.2.0' |
Affected Products
markdown-it-pyexecutablebooksDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for markdown-it-py, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update markdown-it-py to 2.2.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-jrwr-5x3p-hvc3 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is GHSA-jrwr-5x3p-hvc3 in your dependencies?
Find it across PyPI, including transitive dependencies.