ADVISORIES

GitHub Advisory Database

GHSA-mm7r-265w-jv6f

Server-Side Request Forgery in @uppy/companion

Details

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.

Affected packages

EcosystemPackageAffected versions
npm@uppy/companion
All versions before 1.9.3 (fixed in 1.9.3)

References