Description
Versions of @uppy/companion prior to 1.9.3 are vulnerable to Server-Side Request Forgery (SSRF). The get route passes the user-controlled variable req.body.url to a GET request without sanitizing the value. This allows attackers to inject arbitrary URLs and make GET requests on behalf of the server.
Recommendation
Update the @uppy/companion package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.9.3
- Patched version(s): 1.9.3
References
Could your website be exposed too?
SmartScanner can check your website for Server-Side Request Forgery in @uppy/companion - @uppy/companion and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Server-Side Request Forgery in @uppy/companion - CVE-2020-8205
- uppy's companion module is vulnerable to Server-Side Request Forgery (SSRF) - CVE-2022-0086
- uppy's companion module is vulnerable to Server-Side Request Forgery (SSRF) - uppy - CVE-2022-0086
- Server-Side Request Forgery in private-ip - CVE-2020-28360


