Intel

AIKIDO-2025-10185

axios is vulnerable to Server-side Request Forgery (SSRF)

CVE-2025-27152Published Mar 26, 2025
March 26, 2025

62

CVE Score

Medium

Server-side Request Forgery (SSRF)

Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to server-side request forgery (SSRF) because allowAbsoluteUrls is not set to false by default when processing URLs in buildFullPath(). This unsafe default may lead to unintended URL acceptance, allowing attackers to bypass expected restrictions. As a result, URLs that should be blocked may be processed instead. This vulnerability effectively bypasses the fix for CVE-2025-27152.

How do I fix this?

Upgrade the axios library to a patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

0.19.1 - 0.29.0

Fixed in 0.30.0

1.0.0 - 1.8.2

Fixed in 1.8.3

Background info

axios is vulnerable to Server-side Request Forgery (SSRF) in versions 0.19.1 - 0.29.0 and 1.0.0 - 1.8.2.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea