Skip to content

Update dependency pdfjs-dist to v6 [SECURITY] - #348

Merged
onigoetz merged 1 commit into
masterfrom
renovate/npm-pdfjs-dist-vulnerability
Sep 8, 2026
Merged

onigoetz merged 1 commit into
masterfrom
renovate/npm-pdfjs-dist-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
pdfjs-dist (source) ^5.0.0 → ^6.0.0 age confidence

PDF.js: Arbitrary JavaScript execution upon opening a malicious PDF

CVE-2026-16633 / GHSA-hq66-cqwq-w95j

More information

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.

Severity

  • CVSS Score: 8.6 / 10 (High)
  • Vector String: 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

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

mozilla/pdf.js (pdfjs-dist)

v6.2.108

Compare Source

v6.1.200

Compare Source

This release contains improvements for annotation rendering, annotation editing, font conversion, image conversion, merging files, SMask rendering and the viewer.

Changes since v6.0.227

v6.0.227

Compare Source

PDF.js 6.0 is a major release that contains a number of API changes, features and bugfixes.

The complete list of changes in this release is shown below. If you're upgrading to PDF.js 6.0 we recommend checking the changes prefixed with [api-minor] and [api-major] since those might require updates to your code.

Changes since v5.7.284


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@onigoetz
onigoetz merged commit 73c0655 into master Sep 8, 2026
3 checks passed
@renovate
renovate Bot deleted the renovate/npm-pdfjs-dist-vulnerability branch September 8, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant