Vulnerability library
Security checkNovember 27, 2025

axios Requests Vulnerable To Possible SSRF and Credential Leakage via Absolute URL

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmaxios

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

A previously reported issue in axios demonstrated that using protocol-relative URLs could lead to SSRF (Server-Side Request Forgery). Reference: axios/axios#6463

A similar problem that occurs when passing absolute URLs rather than protocol-relative URLs to axios has been identified.

Recommendation

Update the axios package to the latest compatible version. Followings are version details:

  • Affected version(s): **< 0.30.0 >= 1.0.0, < 1.8.2**
  • Patched version(s): **0.30.0 1.8.2**

References

Could your website be exposed too?

SmartScanner can check your website for axios Requests Vulnerable To Possible SSRF and Credential Leakage via Absolute URL and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated November 27, 2025