Server-Side Request Forgery (SSRF) Affecting node-axios package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-Side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN12-NODEAXIOS-9366356
  • published8 Mar 2025
  • disclosed7 Mar 2025

Introduced: 7 Mar 2025

NewCVE-2025-27152  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 node-axios.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-axios package and not the node-axios package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.