{"id":"CVE-2020-11888","aliases":["DEBIAN-CVE-2020-11888","EUVD-2020-0105","GHSA-fv3h-8x5j-pvgq","PYSEC-2020-65","UBUNTU-CVE-2020-11888","openSUSE-SU-2020:0651-1","openSUSE-SU-2020:0656-1"],"status":"published","title":"XSS in python-markdown2","description":"python-markdown2 through 2.3.8 allows XSS because element names are mishandled unless a \\w+ match succeeds. For example, an attack might use elementname@ or elementname- with an onclick attribute.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.01932,"percentile":0.80298,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2020-04-20T15:48:13Z","modified":"2026-10-26T12:00:21Z","fixes":[{"ecosystem":"PyPI","package":"markdown2","fixed_in":["2.3.9"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"python-markdown2","fixed_in":["2.3.9-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"python-markdown2","fixed_in":["2.3.9-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"python-markdown2","fixed_in":["2.3.9-1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.1","package":"python-markdown2","fixed_in":["2.3.7-lp151.2.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP1","package":"python-markdown2","fixed_in":["2.3.7-bp151.2.3.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"markdown2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.3.8"},{"fixed":"2.3.9"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"python-markdown2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.9-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"python-markdown2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.9-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"python-markdown2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.9-1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"markdown2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.9"}]}],"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","2.3.6","2.3.7","2.3.8"]},{"source":"osv","ecosystem":"PyPI","package":"markdown2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.9"}]}],"versions":["1.0.1.6","1.0.1.7","1.0.1.8","1.0.1.9","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.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","2.3.6","2.3.7","2.3.8"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"python-markdown2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.7-2"]},{"source":"osv","ecosystem":"openSUSE:Leap 15.1","package":"python-markdown2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.7-lp151.2.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP1","package":"python-markdown2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.7-bp151.2.3.1"}]}]}],"products":[{"vendor":"python-markdown2_project","product":"python-markdown2"}],"references":[{"url":"https://github.com/trentm/python-markdown2/issues/348","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00031.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00035.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PN6QSHRFZXRQAYZJQ4MOW5MKIXBYOMED/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AQLRBGRVRRZK7P5SFL2MNGXFX37YHJAV/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6XOAIRJJCZNJUALXDHSIGH5PS2H63A3J/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-11888","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/markdown2/PYSEC-2020-65.yaml","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6XOAIRJJCZNJUALXDHSIGH5PS2H63A3J","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AQLRBGRVRRZK7P5SFL2MNGXFX37YHJAV","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PN6QSHRFZXRQAYZJQ4MOW5MKIXBYOMED","tags":["web"]},{"url":"https://github.com/advisories/GHSA-fv3h-8x5j-pvgq","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-11888","tags":["advisory"]},{"url":"https://github.com/trentm/python-markdown2","tags":["package"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AQLRBGRVRRZK7P5SFL2MNGXFX37YHJAV/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PN6QSHRFZXRQAYZJQ4MOW5MKIXBYOMED/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6XOAIRJJCZNJUALXDHSIGH5PS2H63A3J/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2020-11888","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-11888","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/B4CURXVTATQIUIFDWQXVQYUATP43MCQ2/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1171379","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2020-11888","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/ECM2WHRKL6MIR6CZ3ZIBWUNUC6OTNFFG/","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2020-11888","description":"python-markdown2 through 2.3.8 allows XSS because element names are mishandled unless a \\w+ match succeeds. For example, an attack might use elementname@ or elementname- with an onclick attribute.","status":"published","published":"2020-04-20T15:48:13Z","modified":"2024-08-04T11:42:00.73Z","updated_at":"2026-11-02T14:35:57.352161Z"}],"euvd":[{"id":"EUVD-2020-0105","description":"python-markdown2 through 2.3.8 allows XSS because element names are mishandled unless a \\w+ match succeeds. For example, an attack might use elementname@ or elementname- with an onclick attribute.","status":"published","published":"2020-04-20T15:48:13Z","modified":"2024-08-04T11:42:00Z","updated_at":"2026-11-03T03:07:42.412087Z"}],"ghsa":[{"id":"GHSA-fv3h-8x5j-pvgq","title":"XSS in python-markdown2","description":"python-markdown2 through 2.3.8 allows XSS because element names are mishandled unless a \\w+ match succeeds. For example, an attack might use elementname@ or elementname- with an onclick attribute.","status":"published","published":"2020-04-22T20:59:50Z","modified":"2024-09-24T20:27:34Z","cvss":[{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","level":"medium"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:38:05.526697Z"}],"nvd":[{"id":"CVE-2020-11888","description":"python-markdown2 through 2.3.8 allows XSS because element names are mishandled unless a \\w+ match succeeds. For example, an attack might use elementname@ or elementname- with an onclick attribute.","status":"published","published":"2020-04-20T16:15:14.43Z","modified":"2026-06-17T02:50:59.24Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:05:59.718774Z"}],"osv":[{"id":"CVE-2020-11888","description":"python-markdown2 through 2.3.8 allows XSS because element names are mishandled unless a \\w+ match succeeds. For example, an attack might use elementname@ or elementname- with an onclick attribute.","status":"published","published":"2020-04-20T16:15:14.43Z","modified":"2026-10-20T10:51:04.398150936Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:14.034736Z"},{"id":"DEBIAN-CVE-2020-11888","description":"python-markdown2 through 2.3.8 allows XSS because element names are mishandled unless a \\w+ match succeeds. For example, an attack might use elementname@ or elementname- with an onclick attribute.","status":"published","published":"2020-04-20T16:15:14.43Z","modified":"2026-10-26T12:00:21.97748269Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:32.862554Z"},{"id":"GHSA-fv3h-8x5j-pvgq","title":"XSS in python-markdown2","description":"python-markdown2 through 2.3.8 allows XSS because element names are mishandled unless a \\w+ match succeeds. For example, an attack might use elementname@ or elementname- with an onclick attribute.","status":"published","published":"2020-04-22T20:59:50Z","modified":"2024-09-24T20:33:18.866718Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:46.760785Z"},{"id":"UBUNTU-CVE-2020-11888","description":"python-markdown2 through 2.3.8 allows XSS because element names are mishandled unless a \\w+ match succeeds. For example, an attack might use elementname@ or elementname- with an onclick attribute.","status":"published","published":"2020-04-20T16:15:00Z","modified":"2025-10-24T04:48:26Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:22.212782Z"},{"id":"openSUSE-SU-2020:0651-1","title":"Security update for python-markdown2","description":"This update for python-markdown2 fixes the following issues:\n\n- CVE-2020-11888: Fixed unsanitized input for cross-site scripting (boo#1171379)\n","status":"published","published":"2020-05-11T12:19:43Z","modified":"2026-02-04T02:24:57.849757Z","updated_at":"2026-11-02T16:58:31.152112Z"},{"id":"openSUSE-SU-2020:0656-1","title":"Security update for python-markdown2","description":"This update for python-markdown2 fixes the following issues:\n\n- CVE-2020-11888: Fixed unsanitized input for cross-site scripting (boo#1171379)\n\nThis update was imported from the openSUSE:Leap:15.1:Update update project.","status":"published","published":"2020-05-12T05:30:07Z","modified":"2026-02-04T03:50:31.828508Z","updated_at":"2026-11-02T16:58:31.152112Z"},{"id":"PYSEC-2020-65","description":"python-markdown2 through 2.3.8 allows XSS because element names are mishandled unless a \\w+ match succeeds. For example, an attack might use elementname@ or elementname- with an onclick attribute.","status":"published","published":"2020-04-20T16:15:00Z","modified":"2023-11-08T04:02:07.747183Z","updated_at":"2026-11-02T15:52:52.682031Z"}]}}
