mistune.py in Mistune 0.7.4 allows XSS via an unexpected newline (such as in java\nscript:) or a crafted email address, related to the escape and autolink functions.
"https://github.com/pypa/advisory-database/blob/main/vulns/mistune/PYSEC-2017-80.yaml"