GHSA-7jg2-jgv3-fmr4HighCVSS 8.8

Malicious PDF can inject JavaScript into PDF Viewer

Published
May 14, 2022
Last Modified
May 28, 2024

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products2

  • npm/pdfjs-dist:>= 2.0.0, < 2.0.550
  • npm/pdfjs-dist:< 1.10.100

🔗 References (15)