PoC Monitor
← All CVEs
CVE-2025-27152published 7 Mar 2025 15:13 UTCData: JSON · API

Axios

Possible SSRF and Credential Leakage via Absolute URL in axios Requests

axios is a promise based HTTP client for the browser and node.js. The issue occurs when passing absolute URLs rather than protocol-relative URLs to axios. Even if ⁠baseURL is set, axios sends the request to the specified absolute URL, potentially causing SSRF and credential leakage. This issue impacts both server-side and client-side usage of axios. This issue is fixed in 1.8.2.

First public PoC 4.3 daysafter publication · 11 Mar 2025
Public PoCs11 on GitHub
CVSS7.7high · scored by CNA · CWE-918
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

axios axios
  • < 1.8.2

Fixed in 1.8.2

Mitigation

Upgrade axios to 1.8.2 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published7 Mar 2025 · t = 0First public PoC11 Mar 2025 · t+4.3d

First public PoC 4.3 days after publication; not in CISA KEV. First PoC: backuardo/exploit-workbench (created 11 Mar 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs · 1 pending · 2 informational

PoCs 1
RepositoryCreatedStarsAssessment
backuardo/exploit-workbench 11 Mar 2025 +4.3 d 2 PoC
Pending 1
RepositoryCreatedStarsAssessment
WillFortMadeTech/axiosVulnExample 19 Feb 2026 +349 d 0 Pending · repository unavailable (HTTP 404)
Informational 2
RepositoryCreatedStarsAssessment
andreglock/axios-ssrf 30 Mar 2025 +23 d 0 Informational · write-up
davidblakecoe/axios-CVE-2025-27152-PoC 6 Jun 2025 +91 d 0 Informational · write-up

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /fetch-url
(?i)^/fetch-url\?(?:.*&)?url=

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /fetch-url
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2025-27152 axios axios exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/fetch-url"; http.uri; content:"url="; reference:url,poc.griffinguard.io/cve/CVE-2025-27152; classtype:web-application-attack; sid:9180540; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /fetch-url
title: axios axios exploit attempt (CVE-2025-27152)
id: gg-pocmon-cve-2025-27152-9180540
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-27152. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-27152
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/fetch-url'
    cs-uri-query|contains|all:
      - 'url='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.27152