Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pdf.js version for vulnerability #53

Open
mustangJaro opened this issue May 7, 2024 · 9 comments
Open

Bump pdf.js version for vulnerability #53

mustangJaro opened this issue May 7, 2024 · 9 comments

Comments

@mustangJaro
Copy link

The pdf.js version should be updated to 4.2.67 in order to address the vulnerability shown below.

image
@OleksiiHryhorian
Copy link

+1

1 similar comment
@arichwei
Copy link

arichwei commented May 9, 2024

+1

@tmoran-stenoa
Copy link
Contributor

@ol-th Could you please upgrade the pdf.js dependency version when you find the time? It would be much appreciated. Thank you! (On a semi-related note, I've also opened PR #56 to be able to control whether eval is allowed)

@chefvivica
Copy link

+1

@chefvivica
Copy link

Hi @ol-th I wonder when we should expect this issue to be resolved? Thanks

@jason1610
Copy link

Would be really nice if this gets fixed soon.

@VVill-ga
Copy link

+1, this still needs to be resolved

@ADTC
Copy link

ADTC commented Sep 15, 2024

Same here:

npm audit report

pdfjs-dist <=4.1.392
Severity: high
PDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDF - GHSA-wgrm-67xf-hhpq
No fix available
node_modules/pdfjs-dist
pdf-img-convert *
Depends on vulnerable versions of pdfjs-dist
node_modules/pdf-img-convert

If pdf.js is used to load a malicious PDF, and PDF.js is configured with isEvalSupported set to true (which is the default value), unrestricted attacker-controlled JavaScript will be executed in the context of the hosting domain.

The patched version is 4.2.67.

@kaakaa
Copy link

kaakaa commented Oct 6, 2024

This issue seems to be fixed in v2.0.0.

Security: Addressed a critical security vulnerability in previously used npm packages by updating pdfjs-dist to the latest versions.

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

No branches or pull requests

9 participants