—
PYSEC-2018-13
Quick fix
PYSEC-2018-13 — markdown2: upgrade to the fixed version with the command below.
pip install --upgrade 'markdown2>=2.3.6'Details
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.
Are you affected?
Enter the version of the package you're using.