# CVE-2018-5158

The PDF viewer does not sufficiently sanitize PostScript calculator functions, allowing malicious JavaScript to be injected through a crafted PDF file. This JavaScript can then be run with the permissions of the PDF viewer by its worker. This vulnerability affects Firefox ESR < 52.8 and Firefox < 60.

- CVSS: 8.8 HIGH
- EPSS: unknown
- In CISA KEV: no
- Published: 2018-06-11

Sources: NVD, OSV, CISA, FIRST. Last checked 20 Nov 2026.
