PT-2026-68965 · Npm · Pdfjs-Dist
Published
2026-08-06
·
Updated
2026-08-06
CVSS v4.0
8.6
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
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.Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Pdfjs-Dist