CVE-2018-5157
Mozilla: Same-origin bypass of PDF Viewer to view protected PDF files
Severity
ImportantRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · May 9, 2018
Updated · November 26, 2025
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 7.5CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE-829 · Inclusion of Functionality from Untrusted Control Sphere