Cross-site Scripting (XSS) Affecting markdown2 package, versions [0, 2.3.9)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.43% (75th 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 Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-MARKDOWN2-567097
  • published20 Apr 2020
  • disclosed20 Apr 2020
  • creditUnknown

Introduced: 20 Apr 2020

CVE-2020-11888  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade markdown2 to version 2.3.9 or higher.

Overview

markdown2 is a fast and complete Python implementation of Markdown.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). Element names are mishandled unless a \w+ match succeeds. For example, an attack might use elementname@ or elementname- with an onclick attribute.

Details

References

CVSS Scores

version 3.1