CVE-2026-16633
CVE-2026-16633 · PDF.js: Arbitrary JavaScript execution upon opening a malicious PDF
This page contains facts from public vulnerability sources. Check the original advisory before updating.
### 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.
CVSS 8.6 · High · Fix available
- Published
- Updated
Stack: node
Affected products and versions
pdfjs-dist npm
- Affected ranges
- SEMVER: ≥ 5.6.83, < 6.2.108
Update to 6.2.108