Safety vulnerability ID: 35760
The information on this page was manually curated by our Cybersecurity Intelligence Team.
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.
Latest version: 2.5.1
A fast and complete Python implementation of Markdown
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.
MISC:https://github.com/trentm/python-markdown2/issues/285: https://github.com/trentm/python-markdown2/issues/285
Scan your Python project for dependency vulnerabilities in two minutes
Scan your application