CVE-2017-16876
Mistune Project Mistune vulnerability
Cross-site scripting (XSS) vulnerability in the _keyify function in mistune.py in Mistune before 0.8.1 allows remote attackers to inject arbitrary web script or HTML by leveraging failure to escape the "key" argument.
Affected products
Mistune, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mistune Project Mistune runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/lepture/mistune/commit/5f06d724bc05580e7f203db2d4a4905fc1127f98 · Patch
- bugzilla.redhat.com/show_bug.cgi?id=1524596 · Third Party Advisory
- github.com/lepture/mistune/blob/master/CHANGES.rst · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N
- nvd.nist.gov/vuln/detail/CVE-2017-16876
- github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2017-18.yaml
- lists.fedoraproject.org/archives/list/[email protected]/message/NUR
- github.com/advisories/GHSA-98gj-wwxm-cj3h
- nvd.nist.gov/vuln/detail/CVE-2017-16876
- cve.org/CVERecord?id=CVE-2017-16876
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.