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.
"https://github.com/pypa/advisory-database/blob/main/vulns/markdown2/PYSEC-2020-65.yaml"