GHSA-mm7r-265w-jv6f
Server-Side Request Forgery in @uppy/companion
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @uppy/companion | < 1.9.3 | 1.9.3 |
Details
As written in the advisory (Markdown source, shown as plain text).
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
Upgrade to version 1.9.3 or later.
References
External links from the advisory. They lead to third-party sites.