CVE-2022-23631Blitzjs Blitz
Critical 9.8 No auth needed
Follow: this CVE · Blitzjs · Blitzjs Blitz We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 83
- Auth required
- No
- Published
- Feb 9, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Blitz.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | blitz |
< 0.45.3 |
0.45.3 |
npm install blitz@0.45.3 |
| npm | superjson |
< 1.8.1 |
1.8.1 |
npm install superjson@1.8.1 |
Per OSV / GitHub Advisories (GHSA-5888-ffcr-r425). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| blitzjs | blitz | < 0.45.3 |
| blitzjs | superjson | < 1.8.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- github.com Exploit Third Party Advisory
- www.sonarsource.com Exploit Third Party Advisory