CVE-2022-23631
Prototype Pollution leading to Remote Code Execution in superjson
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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.
Timeline
ID reserved
By GitHub_M
- 21 days later
· 21 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Critical9.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.7% · top 14% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.1.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmblitzGHSA-5888-ffcr-r425 (opens in a new tab)
- npmsuperjsonGHSA-5888-ffcr-r425 (opens in a new tab)
References (3)
- https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/advisories/GHSA-5888-ffcr-r425 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.sonarsource.com/blog/blitzjs-prototype-pollution/ (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-5888-ffcr-r425 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-23631)Record last updated .