Security mailing lists by PureSourceCode

CVE-2020-11888

MEDIUM 6.1CVSS 3.1

XSS in python-markdown2

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.

Published
20 Apr 2020
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-fv3h-8x5j-pvgqPYSEC-2020-65
Sources
NVDJSONOSV GHSA-fv3h-8x5j-pvgqJSONOSV PYSEC-2020-65JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD python-markdown2_project python-markdown2
cpe:2.3:a:python-markdown2_project:python-markdown2:*:*:*:*:*:*:*:*
<= 2.3.8
OSV PyPI markdown2 < 2.3.9 2.3.9

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 20 Apr 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Apr 2020)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Apr 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.