Skip to content

[Snyk] Security upgrade axios from 0.21.4 to 1.13.5#51

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

[Snyk] Security upgrade axios from 0.21.4 to 1.13.5#51
xack20 wants to merge 1 commit into
mainfrom
snyk-fix-77056ab75d2a7d289963f4fb0830d348

Conversation

@xack20
Copy link
Copy Markdown
Owner

@xack20 xack20 commented Feb 11, 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):

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

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Prototype Pollution
SNYK-JS-AXIOS-15252993
  828  

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:

🦉 Prototype Pollution

Copilot AI review requested due to automatic review settings February 11, 2026 14: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 the client’s axios dependency to remediate a Snyk-reported prototype pollution vulnerability in the frontend dependency tree.

Changes:

  • Bump axios from ^0.21.x to ^1.13.5 in client/package.json.
  • Regenerate/update client/package-lock.json to reflect the new axios version and re-resolved transitive dependencies.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
client/package.json Updates the declared axios dependency to ^1.13.5.
client/package-lock.json Updates resolved axios version and associated dependency graph (includes broader re-resolve changes).

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

Comment thread client/package-lock.json
Comment on lines +24867 to +24879
"node_modules/typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
"license": "Apache-2.0",
"peer": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=14.17"
}
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

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

package-lock.json now pulls in typescript@5.9.3 as a peer dependency. This is likely to conflict with react-scripts@4.0.3 (which declares a TypeScript peer range of ^3.2.1 || ^4) and can cause CRA’s TypeScript detection/build to fail or behave unexpectedly. Consider regenerating the lockfile in a way that avoids auto-installing this peer (e.g., matching the previous install mode), or explicitly pin/override TypeScript to a compatible 4.x version if TypeScript must be present.

Copilot uses AI. Check for mistakes.
Comment thread client/package-lock.json
Comment on lines 31 to 36
"@testing-library/react": "^11.2.6",
"@testing-library/user-event": "^13.1.5",
"antd": "^4.15.2",
"axios": "^0.21.1",
"axios": "^1.13.5",
"bizcharts": "^4.1.15",
"bootstrap": "^5.1.3",
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

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

The PR description indicates an axios-only security upgrade, but package-lock.json includes broad, unrelated dependency changes (e.g., major bumps to Babel packages, browserslist, rollup, etc.). This increases risk and makes it harder to review/roll back. If possible, regenerate the lockfile to limit changes to axios and its direct transitive dependencies (or document why a full re-resolve is required).

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