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 | Vendor | Product | Affected 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.
References
- https://github.com/advisories/GHSA-5888-ffcr-r425 Vendor Advisory
- https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23631... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-23631 Vendor Advisory
- https://www.sonarsource.com/blog/blitzjs-prototype-pollution/ Third Party Advisory
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
Type
CWE-94Code Injection
CWE-1321Prototype Pollution
Timeline
Published9 Feb 2022
Updated3 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta