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 |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2022-10-03T16:22:01
Updated: 2022-10-03T16:22:01
Reserved: 2022-10-03T00:00:00
Link: CVE-2018-5773
JSON object: View
NVD Information
Status : Analyzed
Published: 2018-01-18T21:29:00.267
Modified: 2018-02-06T13:39:20.187
Link: CVE-2018-5773
JSON object: View
Redhat Information
No data.
CWE