CVE-2025-27152Axios
High 7.7 No auth needed
Follow: this CVE · Axios · Axios We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 4.0
- 7.7
- EPSS
- —
- Auth required
- No
- Published
- Mar 7, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-918
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Axios.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | axios |
≥ 1.0.0 < 1.8.2 |
1.8.2 |
npm install axios@1.8.2 |
| npm | axios |
< 0.30.0 |
0.30.0 |
npm install axios@0.30.0 |
Per OSV / GitHub Advisories (GHSA-jr5f-v2jv-69x6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| axios | axios | < 0.30.0 |
| axios | axios | ≥ 1.0.0 ≤ 1.7.9 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Broken Link
- github.com Exploit Vendor Advisory