CVE-2022-23631
Severity CVSS v4.0:
Pending analysis
Type:
CWE-94
Code Injection
Publication date:
09/02/2022
Last modified:
24/02/2026
Description
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.
Impact
Base Score 3.x
9.00
Severity 3.x
CRITICAL
Base Score 2.0
7.50
Severity 2.0
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:blitzjs:blitz:*:*:*:*:*:node.js:*:* | 0.45.3 (excluding) | |
| cpe:2.3:a:blitzjs:superjson:*:*:*:*:*:node.js:*:* | 1.8.1 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://github.com/advisories/GHSA-5888-ffcr-r425
- https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425
- https://www.sonarsource.com/blog/blitzjs-prototype-pollution/
- https://github.com/advisories/GHSA-5888-ffcr-r425
- https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425
- https://www.sonarsource.com/blog/blitzjs-prototype-pollution/



