GHSA-r3jv-xfgx-gj24

Suggest an improvement
Source
https://github.com/advisories/GHSA-r3jv-xfgx-gj24
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-r3jv-xfgx-gj24/GHSA-r3jv-xfgx-gj24.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-r3jv-xfgx-gj24
Aliases
  • CVE-2020-36851
Published
2025-09-25T15:30:24Z
Modified
2026-05-04T08:43:03.443518630Z
Severity
  • 9.0 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:H/E:P CVSS Calculator
Summary
cors-anywhere vulnerable to server-side request forgery
Details

Rob -- W / cors-anywhere instances configured as an open proxy allow unauthenticated external users to induce the server to make HTTP requests to arbitrary targets (SSRF). Because the proxy forwards requests and headers, an attacker can reach internal-only endpoints and link-local metadata services, retrieve instance role credentials or other sensitive metadata, and interact with internal APIs and services that are not intended to be internet-facing. The vulnerability is exploitable by sending crafted requests to the proxy with the target resource encoded in the URL; many cors-anywhere deployments forward arbitrary methods and headers (including PUT), which can permit exploitation of IMDSv2 workflows as well as access to internal management APIs. Successful exploitation can result in theft of cloud credentials, unauthorized access to internal services, remote code execution or privilege escalation (depending on reachable backends), data exfiltration, and full compromise of cloud resources. Mitigation includes: restricting the proxy to trusted origins or authentication, whitelisting allowed target hosts, preventing access to link-local and internal IP ranges, removing support for unsafe HTTP methods/headers, enabling cloud provider mitigations, and deploying network-level protections.

Database specific
{
    "github_reviewed": true,
    "nvd_published_at": "2025-09-25T15:16:01Z",
    "severity": "CRITICAL",
    "github_reviewed_at": "2025-09-25T16:47:59Z",
    "cwe_ids": [
        "CWE-918"
    ]
}
References

Affected packages

npm / cors-anywhere

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.4.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-r3jv-xfgx-gj24/GHSA-r3jv-xfgx-gj24.json"