pdfjs-dist
Affected
- introduced
2.0.0, fixed2.0.550(semver)
Fixed versions
2.0.550
Fix
- Fixed version
2.0.550npm install [email protected]
Advisory
Also known as: CVE-2018-5158
Malicious PDF can inject JavaScript into PDF Viewer
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, Firefox < 60 and PDF.js < 2.0.550.
High Basis: The source's own band: HIGH
2.0.0, fixed 2.0.550 (semver)2.0.550
2.0.550npm install [email protected]0, fixed 1.10.100 (semver)1.10.100
1.10.100npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0