GHSA-p6h9-gw49-rqm4 · Severity: medium · Ecosystem: pip — markdown2 is vulnerable to cross-site scripting
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.
Conclusion & alert: CVE-2018-5773 is rated Moderate Risk (43.3/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.83%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.36% | 0.83% | +0.47% |
| 2 | 2025-11-21 | 0.26% | 0.36% | +0.10% |
| 3 | 2025-11-18 | — | 0.26% | — |
Full EPSS history (11 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.1 | 3.0 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
GHSA-p6h9-gw49-rqm4 · Severity: medium · Ecosystem: pip — markdown2 is vulnerable to cross-site scripting
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| python-markdown2_project | python-markdown2 | <= 2.3.5 | cpe:2.3:a:python-markdown2_project:python-markdown2:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/trentm/python-markdown2/issues/285 | Third Party Advisory |