CVE-2020-36851 — Vulnerability in cors-anywhere — CVE Details
CRITICAL
cors-anywhere vulnerable to server-side request forgery
Published September 25, 2025Updated May 4, 2026Source: osv
Summary
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.
Advisory Timeline
- First published September 25, 2025 (382 days ago).
- Last revised May 4, 2026 — 221 days after initial publication.
Affected Packages (1)
Affects 1 ecosystem: npm (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| cors-anywhere | npm | All versions | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-918Server-Side Request Forgery (SSRF)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—
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
References
- https://github.com/SocketDev/security-research/security/advisories/GHSA-9wmg-93pw-fc3gWEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-36851ADVISORY
- https://github.com/Rob--W/cors-anywhere/issues/152WEB
- https://github.com/Rob--W/cors-anywhere/issues/521WEB
- https://github.com/Rob--W/cors-anywhere/issues/78WEB
- https://github.com/Rob--W/cors-anywherePACKAGE
- https://www.certik.com/resources/blog/cors-anywhere-dangers-of-misconfigured-third-party-softwareWEB
- https://www.vulncheck.com/advisories/rob-w-cors-anywhere-misconfigured-cors-proxy-allows-ssrfWEB
Frequently Asked Questions
- What is CVE-2020-36851?
- cors-anywhere vulnerable to server-side request forgery This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
- How do I check if my project is affected by CVE-2020-36851?
- CVE-2020-36851 affects cors-anywhere. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-36851 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
10.0
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
GHSA-r3jv-xfgx-gj24
Related CVEs
- CVE-2026-107722CRITICAL
fast-jwt: Incomplete patch of CVE-2026-34950: Non-whitespace key-prefix re-enables RSA→HS256 algorithm confusion
- CVE-2026-108261CRITICAL
TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies