Skip to main content

CVE-2024-39338 — Server-Side Request Forgery in axios — CVE Details

HIGH

Server-Side Request Forgery in axios

Published August 12, 2024Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.79%). Schedule for your next planned update.

Does your project use an affected axios version?

Paste your package-lock.json to check it for CVE-2024-39338 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my package-lock.json

Summary

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

Advisory Timeline

  • First published August 12, 2024 (836 days ago).
  • Last revised September 10, 2026 — 759 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update axios to 1.7.4 or later
npm install axios@1.7.4

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: npm (1).

PackageFixed In
axios npm · Affected: All versions1.7.4

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-918
    Server-Side Request Forgery (SSRF)MITRE

Frequently Asked Questions

What is CVE-2024-39338?
Server-Side Request Forgery in axios. This vulnerability has been assigned a severity rating of HIGH.
How do I check if my project is affected by CVE-2024-39338?
CVE-2024-39338 affects axios. It has a 0.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-39338 and 200,000+ other known vulnerabilities.

Severity & Exploitability

EPSS Score (30-day exploit probability)
0.79%
EPSS percentile: 52.8

This is an above-median EPSS score — 52.8% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-8hc4-vh64-cxmj

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json