Skip to content

[Snyk] Security upgrade react-scripts from 4.0.3 to 5.0.0#48

Open
xack20 wants to merge 1 commit into
mainfrom
snyk-fix-f4726515802361b4bf9e9f04c80536fb
Open

[Snyk] Security upgrade react-scripts from 4.0.3 to 5.0.0#48
xack20 wants to merge 1 commit into
mainfrom
snyk-fix-f4726515802361b4bf9e9f04c80536fb

Conversation

@xack20
Copy link
Copy Markdown
Owner

@xack20 xack20 commented Jan 21, 2026

snyk-top-banner

Snyk has created this PR to fix 3 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • client/package.json
  • client/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Improper Handling of Unicode Encoding
SNYK-JS-TAR-15038581
  713  
medium severity Use of a Cryptographic Primitive with a Risky Implementation
SNYK-JS-ELLIPTIC-14908844
  708  
medium severity Uncontrolled Resource Consumption ('Resource Exhaustion')
SNYK-JS-TAR-6476909
  646  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Uncontrolled Resource Consumption ('Resource Exhaustion')

Copilot AI review requested due to automatic review settings January 21, 2026 08:51
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades react-scripts from version 4.0.3 to 5.0.0 to address three medium-severity security vulnerabilities in transitive dependencies (tar and elliptic packages). While the security fixes are valuable, this is a major version upgrade that introduces breaking changes requiring additional dependency updates.

Changes:

  • Upgrades react-scripts from 4.0.3 to 5.0.0 to fix security vulnerabilities

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread client/package.json
"react-redux": "^7.2.3",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"react-scripts": "5.0.0",
Copy link

Copilot AI Jan 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgrading react-scripts to version 5.0.0 requires React 18 or later, but this project currently uses React 17.0.2 (line 37). This version incompatibility will cause build failures and runtime errors. To complete this upgrade, you must also upgrade both react and react-dom to version 18, along with updating @testing-library/react to a version compatible with React 18 (version 13 or later).

Copilot uses AI. Check for mistakes.
Comment thread client/package.json
"react-redux": "^7.2.3",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"react-scripts": "5.0.0",
Copy link

Copilot AI Jan 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current version of @testing-library/react (11.2.6) is incompatible with React 18, which is required by react-scripts 5.0.0. This package should be upgraded to version 13 or later to maintain compatibility with the React 18 upgrade that is necessary for this react-scripts update.

Copilot uses AI. Check for mistakes.
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.

3 participants