{"id":"GHSA-hq66-cqwq-w95j","revision":"8a49a0fec0da4737ae8069899f3cb027","records":[{"revision":"8a49a0fec0da4737ae8069899f3cb027","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-hq66-cqwq-w95j","aliases":["CVE-2026-16633"],"title":"PDF.js: Arbitrary JavaScript execution upon opening a malicious PDF ","description":"### Impact\n\nIf 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.\n\n### Patches\n\n### Workarounds\nSet `enableScripting` to `false` or set a CSP.","state":0,"publishedAt":"2026-08-06T21:12:27+00:00","modifiedAt":"2026-09-10T03:50:53.7213584+00:00","affected":[{"ecosystem":"npm","name":"pdfjs-dist","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"5.6.83"},{"kind":"fixed","version":"6.2.108"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/mozilla/pdf.js/security/advisories/GHSA-hq66-cqwq-w95j","https://bugzilla.mozilla.org/show_bug.cgi?id=2055885","https://github.com/mozilla/pdf.js"],"sourceUrl":"https://github.com/advisories/GHSA-hq66-cqwq-w95j","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-hq66-cqwq-w95j","identifiers":["GHSA-hq66-cqwq-w95j","CVE-2026-16633"]},"retained":false,"historicalAffected":[]}],"coverage":[]}