### [CVE-2019-19916](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19916) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description 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. ### POC #### Reference - https://github.com/V1n1v131r4/MIME-Confusion-Attack-on-Midori-Browser/blob/master/README.md - https://portswigger.net/research/bypassing-csp-using-polyglot-jpegs #### Github - https://github.com/V1n1v131r4/Bypass-CSP-against-MIME-Confusion-Attack - https://github.com/V1n1v131r4/MIME-Confusion-Attack-on-Midori-Browser - https://github.com/V1n1v131r4/My-CVEs