Skip to main content
← All vulnerabilities
CVE-2025-27152GHSA-JR5F-V2JV-69X6

Possible SSRF and Credential Leakage via Absolute URL in axios Requests

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.8.2, 0.30.0
2 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

axios is a promise based HTTP client for the browser and node.js. The issue occurs when passing absolute URLs rather than protocol-relative URLs to axios. Even if ⁠baseURL is set, axios sends the request to the specified absolute URL, potentially causing SSRF and credential leakage. This issue impacts both server-side and client-side usage of axios. This issue is fixed in 1.8.2.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • axios axios

    fixed in 1.8.2

  • axiosnpm

    From 1.0.0 · fixed in 1.8.2

  • axiosnpm

    fixed in 0.30.0

References 4

GitHub · axios/axios

GitHub · andreglock/axios-ssrf

GitHub · davidblakecoe/axios-CVE-2025-27152-PoC