Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.0

CVE-2022-23631: Outdated superjson versions allow malicious code to run on servers

CVE-2022-23631 · published 4 years ago
Summary

Using outdated versions of superjson (prior to 1.8.1) on your server could allow an attacker to run arbitrary code on your system without needing a password. This is a serious issue because it could lead to unauthorized access to your server. To fix this, update to the latest version of superjson (1.8.1) as soon as possible.

What to do
  • Update skn0tt superjson to version 1.8.1.
  • Update siddhsuresh blitz to version 0.45.3.
  • Update blitzjs blitz to version 0.45.3 or later.
  • Update blitzjs superjson to version 1.8.1 or later.
Affected software
Ecosystem VendorProductAffected versions
npm skn0tt superjson < 1.8.1
Fix: upgrade to 1.8.1
npm siddhsuresh blitz < 0.45.3
Fix: upgrade to 0.45.3
– blitzjs blitz < 0.45.3
cpe:2.3:a:blitzjs:blitz:*:*:*:*:*:node.js:*:*
– blitzjs superjson < 1.8.1
cpe:2.3:a:blitzjs:superjson:*:*:*:*:*:node.js:*:*
Original advisory text
Prototype Pollution leading to Remote Code Execution in superjson
superjson is a program to allow JavaScript expressions to be serialized to a superset of JSON. In versions prior to 1.8.1 superjson allows input to run arbitrary code on any server using superjson input without prior authentication or knowledge. The only requirement is that the server implements at least one endpoint which uses superjson during request processing. This has been patched in superjson 1.8.1. Users are advised to update. There are no known workarounds for this issue.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker full control (estimated)
Severity
9.0 Critical
Exploitation
3% chance of attack within 30 days
Type
CWE-94Code Injection
CWE-1321Prototype Pollution
Timeline
Published9 Feb 2022
Updated3 Nov 2026
First seen6 Mar 2026
Sources
Track software like this
Free during beta