VulnerabilityModified
CVE-2018-5773
The safe_mode feature, which is supposed to sanitize user input against XSS, is flawed and does not escape the input properly.
MEDIUM 6.1EPSS 0.82%
Does this matter?
Lower severity and a low EPSS score (0.82%). Track it; it rarely justifies an emergency change on its own.
Description
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.
- CVSS 3.0
- 6.1 MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 0.82% probability · 55th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- python-markdown2 project/python-markdown2
- Source
- cve@mitre.org
References
- https://github.com/trentm/python-markdown2/issues/285Third Party Advisory
- https://github.com/trentm/python-markdown2/issues/285Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.