Allocation of Resources Without Limits or Throttling Affecting markdownify package, versions [,0.14.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-MARKDOWNIFY-9833926
  • published27 Apr 2025
  • disclosed26 Apr 2025
  • creditSergey Tupikov

Introduced: 26 Apr 2025

NewCVE-2025-46656  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade markdownify to version 0.14.1 or higher.

Overview

markdownify is a Convert HTML to markdown.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling when processing malformed HTML tags. An attacker can cause excessive memory consumption by causing heading tags with very large values to be parsed.

PoC

markdownify("<html><body><h5555555555>Heading</h5555555555><p>paragraph</p></body></html>")

CVSS Base Scores

version 4.0
version 3.1