CVE-2022-23631

critical

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.

References

https://www.sonarsource.com/blog/blitzjs-prototype-pollution/

https://github.com/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425

https://github.com/advisories/GHSA-5888-ffcr-r425

Details

Source: Mitre, NVD

Published: 2022-02-09

Updated: 2026-06-17

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical

EPSS

EPSS: 0.00176