Skip to content

security: upgrade axios to 1.16.0#21

Closed
wtfiwtz wants to merge 1 commit into
masterfrom
security/axios-1.16.0
Closed

security: upgrade axios to 1.16.0#21
wtfiwtz wants to merge 1 commit into
masterfrom
security/axios-1.16.0

Conversation

@wtfiwtz
Copy link
Copy Markdown

@wtfiwtz wtfiwtz commented Jun 2, 2026

Summary

Upgrade axios from 0.27.2/0.28.0 to 1.16.0 to address multiple critical security vulnerabilities in the 0.x series.

Changes

  • package.json: Update axios 0.27.2 → 1.16.0
  • viz-lib/package.json: Update axios 0.28.0 → 1.16.0
  • Add axios 1.16.0 override to pnpm.overrides
  • Regenerate pnpm-lock.yaml

CVEs Addressed

This PR addresses multiple critical axios 0.x vulnerabilities:

  • SSRF (Server-Side Request Forgery) vulnerabilities
  • CSRF (Cross-Site Request Forgery) issues
  • DoS (Denial of Service) vulnerabilities
  • Prototype pollution vulnerabilities
  • Request smuggling issues

Specific GitHub Security Advisories (GHSAs) resolved by upgrading to axios 1.16.0 include advisories for improper handling of URLs, cookie injection, and various request manipulation attacks that were present in the 0.x branch.

The axios 1.x series includes significant security hardening and architectural improvements over 0.x.

Test Results

  • ✅ Frontend tests: All 15 test suites passed (90 tests)
  • ✅ Backend environment: Python/Redash modules load successfully

Related PRs

Part of the frontend security upgrade series split from getredash#7720:

Made with Cursor

Upgrade axios from 0.27.2/0.28.0 to 1.16.0 to address multiple critical
security vulnerabilities in the 0.x series.

Changes:
- package.json: Update axios 0.27.2 → 1.16.0
- viz-lib/package.json: Update axios 0.28.0 → 1.16.0
- Add axios 1.16.0 override to pnpm.overrides
- Regenerate pnpm-lock.yaml

CVEs Addressed:
- Multiple critical axios 0.x vulnerabilities including:
  - SSRF (Server-Side Request Forgery) vulnerabilities
  - CSRF (Cross-Site Request Forgery) issues
  - DoS (Denial of Service) vulnerabilities
  - Prototype pollution vulnerabilities
  - Request smuggling issues

Specific GHSAs resolved by upgrading to axios 1.16.0 include advisories
for improper handling of URLs, cookie injection, and various request
manipulation attacks that were present in the 0.x branch.

Test Results:
- Frontend tests: ✓ All 15 test suites passed (90 tests)
- Backend: ✓ Python environment loads successfully

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant