Skip to content

[Snyk] Security upgrade react-scripts from 1.0.10 to 3.0.0#60

Open
maniator wants to merge 1 commit intomasterfrom
snyk-fix-19fdbad4ca3eedf489ab68175a49cbb1
Open

[Snyk] Security upgrade react-scripts from 1.0.10 to 3.0.0#60
maniator wants to merge 1 commit intomasterfrom
snyk-fix-19fdbad4ca3eedf489ab68175a49cbb1

Conversation

@maniator
Copy link
Copy Markdown
Owner

@maniator maniator commented Feb 4, 2026

snyk-top-banner

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

Snyk changed the following file(s):

  • package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Directory Traversal
SNYK-JS-TAR-15127355
  596  

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:

🦉 Directory Traversal

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-TAR-15127355
Copilot AI review requested due to automatic review settings February 4, 2026 12:02
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 1.0.10 to 3.0.0 to address a directory traversal security vulnerability (SNYK-JS-TAR-15127355) with a severity score of 596. However, this is a major version upgrade that introduces breaking changes requiring additional dependency updates.

Changes:

  • Upgrades react-scripts from 1.0.10 to 3.0.0 to fix a security vulnerability in the tar dependency

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

Comment thread package.json
Comment on lines 6 to 7
"react": "^15.6.1",
"react-dom": "^15.6.1",
Copy link

Copilot AI Feb 4, 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 3.0.0 without upgrading React and React DOM will cause the project to fail. React-scripts 3.0.0 requires React version 16.8.0 or higher to support Hooks and other features, but this package.json still specifies React 15.6.1.

To fix this security vulnerability properly, the following dependencies must also be upgraded:

  • "react": "^16.8.0" or higher (currently "^15.6.1")
  • "react-dom": "^16.8.0" or higher (currently "^15.6.1")

Additionally, upgrading from React 15 to React 16 may require code changes, particularly around deprecated lifecycle methods and PropTypes, which should be tested before merging.

Suggested change
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",

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