### [CVE-2018-5157](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5157) ![](https://img.shields.io/static/v1?label=Product&message=Firefox%20ESR&color=blue) ![](https://img.shields.io/static/v1?label=Product&message=Firefox&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3C%2052.8%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Version&message=%3C%2060%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=Same-origin%20bypass%20of%20PDF%20Viewer%20to%20view%20protected%20PDF%20files&color=brighgreen) ### Description Same-origin protections for the PDF viewer can be bypassed, allowing a malicious site to intercept messages meant for the viewer. This could allow the site to retrieve PDF files restricted to viewing by an authenticated user on a third-party website. This vulnerability affects Firefox ESR < 52.8 and Firefox < 60. ### POC #### Reference - https://bugzilla.mozilla.org/show_bug.cgi?id=1449898 - https://bugzilla.mozilla.org/show_bug.cgi?id=1449898 #### Github - https://github.com/ARPSyndicate/cvemon