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

CVE-2024-34342 - react-pdf version exposed #566

Closed
kevbarns opened this issue Oct 8, 2024 · 2 comments
Closed

CVE-2024-34342 - react-pdf version exposed #566

kevbarns opened this issue Oct 8, 2024 · 2 comments

Comments

@kevbarns
Copy link

kevbarns commented Oct 8, 2024

Description

react-pdf displays PDFs in React apps. 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. This vulnerability is fixed in 7.7.3 and 8.0.2.

https://www.npmjs.com/package/react-pdf current available version is 9.1.1, compared to dependencie versions 5.7.1 used by react-notion-x as of today (v6.16.0)

version 9.1.1 is compatible for react version >= 16.8

@transitive-bullshit
Copy link
Member

Should be fixed by #571 which updates to react-pdf to latest.

@transitive-bullshit
Copy link
Member

Thanks @kevbarns 🙏

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

2 participants