← Back to CVEs
CVE-2022-23631
CRITICAL9.0
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.
CVE Details
CVSS v3.1 Score9.0
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityHIGH
Privileges RequiredNONE
User InteractionNONE
Published2/9/2022
Last Modified2/24/2026
Sourcenvd
Honeypot Sightings0
Affected Products
blitzjs:blitzblitzjs:superjson
Weaknesses (CWE)
CWE-94CWE-1321
References
https://github.com/advisories/GHSA-5888-ffcr-r425(security-advisories@github.com)
https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425(security-advisories@github.com)
https://www.sonarsource.com/blog/blitzjs-prototype-pollution/(security-advisories@github.com)
https://github.com/advisories/GHSA-5888-ffcr-r425(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425(af854a3a-2127-422b-91ae-364da2661108)
https://www.sonarsource.com/blog/blitzjs-prototype-pollution/(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.