Vulnerability library
Security checkNovember 01, 2023

Prototype Pollution leading to Remote Code Execution in superjson

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

High severitynpmsuperjson

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

This is critical vulnerability, as it allows to run arbitrary code on any server using superjson input, including a Blitz.js server, without prior authentication or knowledge. Attackers gain full control over the server so they could steal and manipulate data or attack further systems.

Recommendation

Update the superjson package to the latest compatible version. Followings are version details:

  • Affected version(s): < 1.8.1
  • Patched version(s): 1.8.1

References

Could your website be exposed too?

SmartScanner can check your website for Prototype Pollution leading to Remote Code Execution in superjson and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated November 01, 2023