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.
References
Link | Resource |
---|---|
https://github.com/trentm/python-markdown2/issues/285 | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2018-01-18 21:29
Updated : 2024-02-04 19:46
NVD link : CVE-2018-5773
Mitre link : CVE-2018-5773
CVE.ORG link : CVE-2018-5773
JSON object : View
Products Affected
python-markdown2_project
- python-markdown2
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')