{"id":"UBUNTU-CVE-2017-15612","details":"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.","modified":"2025-10-24T04:46:34Z","published":"2017-10-19T08:29:00Z","upstream":["CVE-2017-15612"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-15612"},{"type":"REPORT","url":"https://github.com/lepture/mistune/pull/140"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-15612"}],"affected":[{"package":{"name":"mistune","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mistune@0.7.1-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6-2","0.7.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.7.1-1","binary_name":"python-mistune"},{"binary_version":"0.7.1-1","binary_name":"python3-mistune"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-15612.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}