Skip to content

fix: patch axios SSRF vulnerability (APS-18720)#18

Merged
karanshah-browserstack merged 1 commit intobrowserstack:mainfrom
avinash-bharti:fix/APS-18720-axios-ssrf
Apr 17, 2026
Merged

fix: patch axios SSRF vulnerability (APS-18720)#18
karanshah-browserstack merged 1 commit intobrowserstack:mainfrom
avinash-bharti:fix/APS-18720-axios-ssrf

Conversation

@avinash-bharti
Copy link
Copy Markdown
Contributor

@avinash-bharti avinash-bharti commented Apr 16, 2026

Summary

  • Adds npm override for axios >= 1.15.0 to fix GHSA-3p68-rc4w-qgx5 (NO_PROXY hostname normalization bypass leads to SSRF)
  • axios is a transitive dev dependency (1.13.2 → 1.15.0)
  • Axios 1.15.0 normalizes hostnames (strips trailing dots, handles IPv6 bracket notation) before evaluating NO_PROXY rules

Testing

npm audit

BrowserStack Session Test (PASSED)

Dependency verification

  • axios resolves to 1.15.0 with the override
  • All other dependencies (codeceptjs, playwright, browserstack-node-sdk) remain at same versions

Note

package-lock.json is in .gitignore for this repo. After merging, run npm install to get the updated dependency resolution.

Jira: APS-18720

🤖 Generated with Claude Code

@avinash-bharti avinash-bharti requested a review from a team as a code owner April 16, 2026 14:00
Adds npm override for axios >=1.15.0 to fix GHSA-3p68-rc4w-qgx5
(NO_PROXY hostname normalization bypass leads to SSRF).
The package is a transitive dev dependency.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avinash-bharti avinash-bharti force-pushed the fix/APS-18720-axios-ssrf branch from 3662782 to c4ae860 Compare April 17, 2026 09:20
@karanshah-browserstack karanshah-browserstack merged commit 737019b into browserstack:main Apr 17, 2026
2 checks passed
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.

2 participants