VYPR
High severity8.8NVD Advisory· Published Jun 11, 2018· Updated Jun 17, 2026

CVE-2018-5158

CVE-2018-5158

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
pdfjs-distnpm
>= 2.0.0, < 2.0.5502.0.550
pdfjs-distnpm
< 1.10.1001.10.100

Affected products

37

Patches

Vulnerability mechanics

References

18

News mentions

0

No linked articles in our index yet.