{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-5773","published":"2018-01-18T21:29:00.267000Z","last_modified":"2026-06-17T02:00:45.443000Z","status":"Modified","cvss":{"version":"3.0","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:python-markdown2_project:python-markdown2:*:*:*:*:*:*:*:*","part":"a","vendor":"python-markdown2_project","product":"python-markdown2","version_end_including":"2.3.5"}],"cpes_truncated":false,"vendors":["python-markdown2_project"],"products":["python-markdown2_project/python-markdown2"],"epss":{"score":0.00819,"percentile":0.54261,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-p6h9-gw49-rqm4","ecosystem":"PyPI","name":"markdown2","purl":"pkg:pypi/markdown2","ranges":[{"introduced":"0","fixed":"2.3.6"}],"versions":["1.0.1.10","1.0.1.11","1.0.1.12","1.0.1.13","1.0.1.14","1.0.1.15","1.0.1.16","1.0.1.17","1.0.1.18","1.0.1.19","1.0.1.6","1.0.1.7","1.0.1.8","1.0.1.9","1.1.0","1.1.1","1.2.0","1.3.0","1.3.1","1.4.0","1.4.1","1.4.2","2.0.0","2.0.1","2.1.0","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5"],"versions_truncated":false},{"advisory":"PYSEC-2018-13","ecosystem":"PyPI","name":"markdown2","purl":"pkg:pypi/markdown2","ranges":[{"introduced":"0","fixed":"2.3.6"}],"versions":["1.0.1.10","1.0.1.11","1.0.1.12","1.0.1.13","1.0.1.14","1.0.1.15","1.0.1.16","1.0.1.17","1.0.1.18","1.0.1.19","1.0.1.6","1.0.1.7","1.0.1.8","1.0.1.9","1.1.0","1.1.1","1.2.0","1.3.0","1.3.1","1.4.0","1.4.1","1.4.2","2.0.0","2.0.1","2.1.0","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2018-5773/","html_en":"/en/cve/CVE-2018-5773/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-5773","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-5773"},"untrusted":{"vendor_name":"Python-markdown2 Project","product_name":"Python-markdown2","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/trentm/python-markdown2/issues/285","tags":["Third Party Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:12016-1","url":"https://www.suse.com/support/update/","published":"2026-10-04T00:00:00+00:00","severity":"high","exploited":false,"untrusted":{"title":"python313-markdown2-2.5.5-1.3 on GA media"}}]}