CVE-2018-5773

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:python-markdown2_project:python-markdown2:*:*:*:*:*:*:*:*

History

21 Nov 2024, 04:09

Type Values Removed Values Added
References () https://github.com/trentm/python-markdown2/issues/285 - Third Party Advisory () https://github.com/trentm/python-markdown2/issues/285 - Third Party Advisory

Information

Published : 2018-01-18 21:29

Updated : 2024-11-21 04:09


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')