GHSA-hq66-cqwq-w95j

Suggest an improvement
Source
https://github.com/advisories/GHSA-hq66-cqwq-w95j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-hq66-cqwq-w95j/GHSA-hq66-cqwq-w95j.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hq66-cqwq-w95j
Aliases
  • CVE-2026-16633
Downstream
Related
Published
2026-08-06T21:12:27Z
Modified
2026-08-07T21:11:57.164095816Z
Severity
  • 8.6 (High) CVSS_V4 - 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 CVSS Calculator
Summary
PDF.js: Arbitrary JavaScript execution upon opening a malicious PDF
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-08-06T21:12:27Z",
    "severity": "HIGH",
    "nvd_published_at": null
}
References

Affected packages

npm / pdfjs-dist

Package

Affected ranges

Type
SEMVER
Events
Introduced
5.6.83
Fixed
6.2.108

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-hq66-cqwq-w95j/GHSA-hq66-cqwq-w95j.json"