Alcumus / react-doc-viewer

Apache License 2.0
207 stars 101 forks source link

[Security] Update react-pdf and pdfjs #149

Closed jdross closed 1 week ago

jdross commented 3 weeks ago

This version updates PDF.js to 4.3.136, fixing GHSA-wgrm-67xf-hhpq.

React-PDF v8.0.2 already included a mitigation of the issue and thus were not affected by this vulnerability, but caused automatic security alerts due to the outdated PDF.js version.

Breaking changes to confirm are ok with your project: