CVE-2023-28155: Server-Side Request Forgery in Request

request Updated 02 Oct 2025

Summary

16/03/2023
No i
Moderate
6.1

CVE-2023-28155: Server-Side Request Forgery in Request. Affects request versions < 2.88.2. No fix is published. How to fix ↓

Also tracked for

The same CVE-2023-28155 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The request package is a popular Node.js module used for making HTTP requests. It provides a simple and convenient API for sending HTTP/HTTPS requests and handling responses. The package is widely used in various applications and frameworks for server-side communication with external services. However, versions up to 2.88.2 of the request package and versions prior to 3.0.0 of the @cypress/request package are vulnerable to a Server-Side Request Forgery (SSRF) attack.

Vulnerability Detail

The vulnerability allows an attacker to bypass SSRF mitigations by exploiting a cross-protocol redirect. This means that an attacker-controlled server can redirect a request from HTTP to HTTPS or from HTTPS to HTTP, effectively bypassing any restrictions or protections in place to prevent SSRF attacks. This can lead to unauthorized access to internal resources, information disclosure, or further exploitation of the target system. It is important to note that the request package is no longer supported by the maintainer.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to follow the steps mentioned in the 'how_to_fix' section to address the issue.

Conclusion

The request package and the @cypress/request package are vulnerable to a Server-Side Request Forgery (SSRF) attack. Upgrading to fixed versions of the packages or switching to alternative packages is necessary to address this vulnerability. It is important to review and update any code that uses the vulnerable packages to ensure proper input validation and sanitization. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for request →

Share this vulnerability

FAQ

This vulnerability allows an attacker to bypass SSRF mitigations and potentially gain unauthorized access to internal resources or disclose sensitive information. It can also be used as a stepping stone for further attacks on the target system.

Versions up to 2.88.2 of the request package are affected by this vulnerability.

Versions prior to 3.0.0 of the @cypress/request package are affected by this vulnerability.

Yes, upgrading to version 2.88.3 or higher of the request package and version 3.0.0 or higher of the @cypress/request package fixes this vulnerability.

No, the request package is no longer supported by the maintainer. It is recommended to switch to an alternative package that provides proper SSRF protection.

Related vulnerabilities

Recent vulnerabilities recorded for request.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback