Skip to content

Fixed #17: upgrade axios from 0.21.4 to 1.7.8 to fix CVE-2024-57965#18

Open
anil-g11h wants to merge 2 commits intobshreddy:masterfrom
anil-g11h:security/upgrade-axios-cve-2024-57965
Open

Fixed #17: upgrade axios from 0.21.4 to 1.7.8 to fix CVE-2024-57965#18
anil-g11h wants to merge 2 commits intobshreddy:masterfrom
anil-g11h:security/upgrade-axios-cve-2024-57965

Conversation

@anil-g11h
Copy link

@anil-g11h anil-g11h commented Nov 18, 2025

  • Updates axios dependency from ^0.21.4 to ^1.7.8
  • Fixes critical security vulnerability CVE-2024-57965 (CVSS 9.8)
  • The vulnerability in axios < 1.7.8 affects isURLSameOrigin.js
  • This fix prevents potential cross-origin request vulnerabilities
  • Add "dom" to TypeScript lib to support Fetch API types required by axios 1.7.8

Fixes: CVE-2024-57965
BREAKING CHANGE: axios 1.x may have minor API changes from 0.21.x

@anil-g11h anil-g11h force-pushed the security/upgrade-axios-cve-2024-57965 branch from caee7db to 9a19a3f Compare November 18, 2025 07:08
…-57965

- Updates axios dependency from ^0.21.4 to ^1.7.8
- Fixes critical security vulnerability CVE-2024-57965 (CVSS 9.8)
- The vulnerability in axios < 1.7.8 affects isURLSameOrigin.js
- This fix prevents potential cross-origin request vulnerabilities
- Add "dom" to TypeScript lib to support Fetch API types required by axios 1.7.8

Fixes: CVE-2024-57965
BREAKING CHANGE: axios 1.x may have minor API changes from 0.21.x
@anil-g11h anil-g11h force-pushed the security/upgrade-axios-cve-2024-57965 branch from 9a19a3f to 86b1654 Compare November 18, 2025 07:15
@anil-g11h anil-g11h marked this pull request as ready for review November 18, 2025 07:16
…ility

- Add eslint-import-resolver-typescript to resolve ESM imports correctly
- Configure ESLint TypeScript resolver and disable import/namespace for test files
- Configure Jest to use axios CommonJS build for compatibility with ts-jest
- Update Joi test schemas to allow unknown fields from newer Vault versions
- All 36 tests now passing with 96.94% code coverage
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