p PatchFirst

PatchFirst · Latest vulnerabilities

pdfjs-dist vulnerabilities

Vulnerabilities published for pdfjs-dist in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 3

  1. CVE-2026-16633

    High · CVSS 8.6Fix available

    PDF.js: Arbitrary JavaScript execution upon opening a malicious PDF

    ### Impact If PDF.js is used to load a malicious PDF, and PDF.js is configured with `enableScripting` set to true (which is the default value) and no CSP for disallowing script-src, unrestricted attacker-controlled JavaScript will be executed in the context of the hosting domain. ### Patches ### Workarounds Set `enableScripting` to `false` or set a CSP.

    • Update to 6.2.108
    Published Updated
  2. CVE-2018-5158

    High · CVSS 8.8EPSS 10.24%Fix available

    CVE-2018-5158

    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.

    • Update to 1.10.100
    • Update to 2.0.550
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →