THREATOPS
THREAT OPSThreat News › [GHSA] GHSA-hq66-cqwq-w95j (high) — PDF.js: Arbitrary JavaScript execution upon opening a malicious PDF

[GHSA] GHSA-hq66-cqwq-w95j (high) — PDF.js: Arbitrary JavaScript execution upon opening a malicious PDF

medgithub_advisoriesPublished 2026-08-06

GHSA-hq66-cqwq-w95j Severity: high CVE: CVE-2026-16633

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

MITRE ATT&CK techniques

Indicators of compromise

Original source: https://github.com/advisories/GHSA-hq66-cqwq-w95j