Vulnerabilities

2 via 2 paths

Dependencies

25

Source

GitHub

Commit

1a7b092d

Find, fix and prevent vulnerabilities in your code.

Severity
  • 2
Status
  • 2
  • 0
  • 0

medium severity

Server-side Request Forgery (SSRF)

  • Vulnerable module: axios
  • Introduced through: axios@1.7.9

Detailed paths

  • Introduced through: @scaleleap/selling-partner-api-sdk@scaleleap/selling-partner-api-sdk#1a7b092d6f3fefa3e30052b3c4c9a0c8e8fddc06 › axios@1.7.9
    Remediation: Upgrade to axios@1.8.2.

Overview

axios is a promise-based HTTP client for the browser and Node.js.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) due to the allowAbsoluteUrls attribute being ignored in the call to the buildFullPath function from the HTTP adapter. An attacker could launch SSRF attacks or exfiltrate sensitive data by tricking applications into sending requests to malicious endpoints.

PoC

const axios = require('axios');
const client = axios.create({baseURL: 'http://example.com/', allowAbsoluteUrls: false});
client.get('http://evil.com');

Remediation

Upgrade axios to version 0.30.0, 1.8.2 or higher.

References

medium severity

Server-side Request Forgery (SSRF)

  • Vulnerable module: axios
  • Introduced through: axios@1.7.9

Detailed paths

  • Introduced through: @scaleleap/selling-partner-api-sdk@scaleleap/selling-partner-api-sdk#1a7b092d6f3fefa3e30052b3c4c9a0c8e8fddc06 › axios@1.7.9
    Remediation: Upgrade to axios@1.8.3.

Overview

axios is a promise-based HTTP client for the browser and Node.js.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) due to not setting allowAbsoluteUrls to false by default when processing a requested URL in buildFullPath(). It may not be obvious that this value is being used with the less safe default, and URLs that are expected to be blocked may be accepted. This is a bypass of the fix for the vulnerability described in CVE-2025-27152.

Remediation

Upgrade axios to version 0.30.0, 1.8.3 or higher.

References