CVE-2026-16633: PDF.js: Arbitrary JavaScript execution upon opening a malicious PDF
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.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-16633 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →