markdown2
Affected
- introduced
0, fixed2.3.6(ecosystem)
Fixed versions
2.3.6
Fix
- Fixed version
2.3.6pip install --upgrade markdown2==2.3.6
Advisory
Also known as: CVE-2018-5773, GHSA-p6h9-gw49-rqm4
The record has no summary.
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.
Not rated by the source.
0, fixed 2.3.6 (ecosystem)2.3.6
2.3.6pip install --upgrade markdown2==2.3.6Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0