Live threats

All CVEs / Blitzjs

CVE-2022-23631Blitzjs Blitz

Critical 9.8 No auth needed

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
Weakness (CWE)
CWE-94, CWE-1321
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Blitz.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
blitzjsblitz< 0.45.3
blitzjssuperjson< 1.8.1

Official sources

References

Links published by the sources. Open them with care.