Vulnerabilities/

Malicious PDF can inject JavaScript into PDF Viewer

Severity:
High

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, Firefox < 60 and PDF.js < 2.0.550.

Recommendation

Update the pdfjs-dist package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
pdfjs-dist
Anything's wrong? Let us know Last updated on May 28, 2024

This issue is available in SmartScanner Professional

See Pricing