Vulnerability library
Security checkJanuary 09, 2023

Server-Side Request Forgery in @uppy/companion - @uppy/companion

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpm@uppy/companion

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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 scan

Related Issues

See something that needs correcting? Let us knowUpdated January 09, 2023