[Snyk] Security upgrade react-pdf from 7.7.1 to 7.7.3#41869
[Snyk] Security upgrade react-pdf from 7.7.1 to 7.7.3#41869chiragsalian merged 1 commit intomainfrom
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-REACTPDF-6814518
|
@chiragsalian Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
The issue is here: #41870 |
Security upgrade ChecklistC+: Please follow these steps to test the linked PR before running through the reviewer checklist:
It is upgrading Previous changes to This vulnerability can impact our users, an attacker can execute code by convincing a user to open a malicious PDF file.
It's worth fixing.
There are no breaking changes, there is only a patch file version warning that we can fix:
Tests:(On Web, mWeb, and Desktop)
Screenshots/VideosMacOS: Chrome / SafariScreen.Recording.2024-05-09.at.7.36.44.PM.movMacOS: DesktopScreen.Recording.2024-05-09.at.7.41.39.PM.movAndroid: mWeb ChromeScreen.Recording.2024-05-09.at.8.08.02.PM.moviOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-05-09.at.20.05.05.mp4 |
Reviewer Checklist
|
rayane-d
left a comment
There was a problem hiding this comment.
Please run npx patch-package react-pdf to update patch version
|
🎯 @rayane-djouah, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #41947. |
|
Oh I was going to update this package here, but I see Snyk is taking care, so I will add it to the description. |
|
🚀 Deployed to staging by https://github.com/chiragsalian in version: 1.4.76-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.76-7 🚀
|

Details
Vulnerabilities that will be fixed
With an upgrade:
SNYK-JS-REACTPDF-6814518
Commit messages
Package name: react-pdf
The new version differs by 4 commits.See the full diff
Check the changes in this PR to ensure they won't cause issues with your project.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/395424
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop