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.
References (3)
Core 3
Core References
Exploit, Third Party Advisory x_refsource_misc
https://github.com/V1n1v131r4/MIME-Confusion-Attack-on-Midori-Browser/blob/master/README.md
Third Party Advisory x_refsource_misc
https://blog.mozilla.org/security/2016/08/26/mitigating-mime-confusion-attacks-in-firefox/
Exploit, Third Party Advisory x_refsource_misc
https://portswigger.net/research/bypassing-csp-using-polyglot-jpegs
Scores
CVSS v3
6.1
EPSS
0.0027
EPSS Percentile
50.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Details
CWE
CWE-79
Status
published
Products (1)
midori-browser/midori
0.5.11
Published
Dec 20, 2019
Tracked Since
Feb 18, 2026