CVE-2018-5773

Medium

Description

An issue was discovered in markdown2 (aka python-markdown2) through 2.3.5. The safe_mode feature, which is supposed to sanitize user input against XSS, is flawed and does not escape the input properly. With a crafted payload, XSS can be triggered, as demonstrated by omitting the final '>' character from an IMG tag.

SeverityMedium
CVSS6.1
Exploit probability—
ProductPython-markdown2
PublishedJan 18, 2018
First seenJan 18, 2018

How to fix

Update
  • markdown22.3.6 or later

Affected products

ProductAffected versionsFixed in
python-markdown2_project python-markdown2v ≤ 2.3.5—
markdown2PyPIv < 2.3.62.3.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2018-5773 · Python-markdown2 · Dark Radar