Improper Handling of Alternate Encoding Affecting markdown-it-py package, versions [,2.2.0)


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.04% (15th 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 IDSNYK-PYTHON-MARKDOWNITPY-3330240
  • published23 Feb 2023
  • disclosed23 Feb 2023
  • creditUnknown

Introduced: 23 Feb 2023

CVE-2023-26302  (opens in a new tab)
CWE-173  (opens in a new tab)

How to fix?

Upgrade markdown-it-py to version 2.2.0 or higher.

Overview

markdown-it-py is a Python port of markdown-it. Markdown parsing, done right!

Affected versions of this package are vulnerable to Improper Handling of Alternate Encoding if an attacker is allowed to use invalid UTF-8 characters as input.

CVSS Scores

version 3.1