CVE-2018-5158

Mozilla: Malicious PDF can inject JavaScript into PDF Viewer

Published Jun 11, 2018 CVSS 3.0 · 8.8 High EPSS 10.1% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1376-1 firefox-esr security update
Debian DSA Debian DSA DSA-4199-1 firefox-esr security update
Github GHSA Github GHSA GHSA-7jg2-jgv3-fmr4 Malicious PDF can inject JavaScript into PDF Viewer
Ubuntu USN Ubuntu USN USN-3645-1 Firefox vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:mozilla:firefox_esr:*:*:*:*:*:*:*:*
Vendors & Products Mozilla firefox Esr
Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

  • CWE-95

    Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Sources

Status
PUBLISHED
Assigner
mozilla
Published
Updated
Aug 5, 2024, 5:26 AM
Reserved
Jan 3, 2018, 12:00 AM
Status
Modified
Published
Jun 11, 2018, 9:29 PM
Modified
Jun 17, 2026, 1:59 AM
Severity
Important
Public date
May 9, 2018, 12:00 AM