SecurityContext

CVE-2024-57965: Axios - CORS Misconfiguration

  • Cve: CVE-2024-57965
  • Name: Axios - CORS Misconfiguration
  • Description: In axios before 1.7.8, lib/helpers/isURLSameOrigin.js does not use a URL object when determining an origin, and has a potentially unwanted setAttribute('href',href) call. NOTE: some parties feel that the code change only addresses a warning message from a SAST tool and does not fix a vulnerability.
  • Impact: Potential for security bypass or cross-origin issues if exploited, depending on context and usage.
  • Remediation: Update to version 1.7.8 or later.
  • Vulnerability type: cors_misconfiguration
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00375
  • Epss percentile: 0.3215
  • Assignee: [email protected]
  • Published at: 2025-01-29T09:15:08Z
  • Age in days: 664
  • Modified at: 2026-06-17T08:14:20Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-57965
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-346Origin Validation Error

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/axios/axios/commit/0a8d6e19da5b9899a2abafaaa06a75ee548597dbPatch
https://github.com/axios/axios/pull/6714Issue Tracking, Patch
https://github.com/axios/axios/issues/6351Issue Tracking
https://github.com/axios/axios/releases/tag/v1.7.8Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
axios:axios< 1.7.8nonvd/v1/products/axios/axios

Projects

RepositoryLink kindsIndexedUrl
axios/axioscommit, fix, issues, pull, releasesyes/v1/repositories/axios/axios

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts