Vulnerability library
Security checkAugust 13, 2024

Server-Side Request Forgery in axios

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

axios 1.7.2 allows SSRF via unexpected behavior where requests for path relative URLs get processed as protocol relative URLs.

Recommendation

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

  • Affected version(s): >= 1.3.2, <= 1.7.3
  • Patched version(s): 1.7.4

References

Could your website be exposed too?

SmartScanner can check your website for Server-Side Request Forgery in axios and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated August 13, 2024