Commit 8b2fe62
authored
fix(security): upgrade axios to 1.15.0 for GHSA-3p68-rc4w-qgx5 (#41739)
## Summary
- Upgrade `axios` to `^1.15.0` in `app/client/package.json` and
`app/client/packages/rts/package.json` to remediate GHSA-3p68-rc4w-qgx5
/ CVE-2025-62718.
- Regenerate `app/client/yarn.lock` so all client workspace consumers
(including `wait-on`) resolve to `axios@1.15.0`.
- Add RTS regression coverage in
`app/client/packages/rts/src/__tests__/axiosNoProxyNormalization.test.ts`
to verify loopback host variants are not proxied when `NO_PROXY` is set.
## Test plan
- [x] `yarn install --mode=skip-build` (from `app/client`)
- [x] `yarn why axios` shows `axios@1.15.0` for `appsmith`,
`appsmith-rts`, and `wait-on`
- [x] `yarn test:unit` (from `app/client/packages/rts`)
- [x] `yarn lint` (from `app/client/packages/rts`)
- [x] `yarn build` (from `app/client`)
- [x] `npx prettier --write ./src ./cypress` (from `app/client`)
- [ ] `npx eslint --fix -c ./cypress/.eslintrc.json --cache ./cypress`
(from `app/client`) - command was run multiple times but hangs in this
local environment without producing completion output.
- [ ] `yarn g:jest src/api/__tests__/apiRequestInterceptors.test.ts
src/api/__tests__/apiFailureResponseInterceptors.test.ts
src/api/__tests__/apiSucessResponseInterceptors.test.ts` (from
`app/client`) - fails in this environment due missing `canvas` binary
(`Cannot find module '../build/Release/canvas.node'`).
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
Fixes
https://linear.app/appsmith/issue/APP-15127/security-critical-dependabot-alert-580-axios-no-proxy-hostname
## Summary by CodeRabbit
* **Chores**
* Updated HTTP client library dependencies across packages to the latest
compatible version for improved stability and performance.
* **Tests**
* Added test coverage for proxy configuration normalization behavior to
ensure reliable network connectivity.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Automation
/ok-to-test tags="@tag.All"
<!-- This is an auto-generated comment: Cypress test results -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/24443669428>
> Commit: ce5b569
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=24443669428&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Wed, 15 Apr 2026 09:39:49 UTC
<!-- end of auto-generated comment: Cypress test results -->1 parent 7d8a5ef commit 8b2fe62
4 files changed
Lines changed: 74 additions & 20 deletions
File tree
- app/client
- packages/rts
- src/__tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
| 442 | + | |
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
Lines changed: 54 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13642 | 13642 | | |
13643 | 13643 | | |
13644 | 13644 | | |
13645 | | - | |
| 13645 | + | |
13646 | 13646 | | |
13647 | 13647 | | |
13648 | 13648 | | |
| |||
13788 | 13788 | | |
13789 | 13789 | | |
13790 | 13790 | | |
13791 | | - | |
| 13791 | + | |
13792 | 13792 | | |
13793 | 13793 | | |
13794 | 13794 | | |
| |||
14456 | 14456 | | |
14457 | 14457 | | |
14458 | 14458 | | |
14459 | | - | |
14460 | | - | |
14461 | | - | |
| 14459 | + | |
| 14460 | + | |
| 14461 | + | |
14462 | 14462 | | |
14463 | | - | |
14464 | | - | |
14465 | | - | |
14466 | | - | |
| 14463 | + | |
| 14464 | + | |
| 14465 | + | |
| 14466 | + | |
14467 | 14467 | | |
14468 | 14468 | | |
14469 | 14469 | | |
| |||
20131 | 20131 | | |
20132 | 20132 | | |
20133 | 20133 | | |
20134 | | - | |
20135 | | - | |
20136 | | - | |
| 20134 | + | |
| 20135 | + | |
| 20136 | + | |
20137 | 20137 | | |
20138 | 20138 | | |
20139 | 20139 | | |
20140 | | - | |
| 20140 | + | |
20141 | 20141 | | |
20142 | 20142 | | |
20143 | 20143 | | |
| |||
29073 | 29073 | | |
29074 | 29074 | | |
29075 | 29075 | | |
29076 | | - | |
29077 | | - | |
29078 | | - | |
29079 | | - | |
| 29076 | + | |
| 29077 | + | |
| 29078 | + | |
| 29079 | + | |
29080 | 29080 | | |
29081 | 29081 | | |
29082 | 29082 | | |
| |||
0 commit comments