{"id":"UBUNTU-CVE-2019-19916","details":"In Midori Browser 0.5.11 (on Windows 10), Content Security Policy (CSP) is not applied correctly to all parts of multipart content sent with the multipart/x-mixed-replace MIME type. This could result in script running where CSP should have blocked it, allowing for cross-site scripting (XSS) and other attacks when the product renders the content as HTML. Remediating this would also need to consider the polyglot case, e.g., a file that is a valid GIF image and also valid JavaScript.","modified":"2025-10-24T04:48:07Z","published":"2019-12-20T16:15:00Z","upstream":["CVE-2019-19916"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-19916"},{"type":"REPORT","url":"https://blog.mozilla.org/security/2016/08/26/mitigating-mime-confusion-attacks-in-firefox/"},{"type":"REPORT","url":"https://github.com/V1n1v131r4/MIME-Confusion-Attack-on-Midori-Browser/blob/master/README.md"},{"type":"REPORT","url":"https://portswigger.net/research/bypassing-csp-using-polyglot-jpegs"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-19916"}],"affected":[{"package":{"name":"midori","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/midori@0.5.11-ds1-2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.3+dfsg-0.2","0.5.11-2","0.5.11-ds1-1","0.5.11-ds1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"midori","binary_version":"0.5.11-ds1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-19916.json"}},{"package":{"name":"midori","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/midori@7.0-2.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.0-2","7.0-2.1"],"ecosystem_specific":{"binaries":[{"binary_name":"midori","binary_version":"7.0-2.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-19916.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}