{"cve":"CVE-2022-23631","nvd":{"published":"2022-02-09T22:15:07.663","modified":"2026-06-17T04:30:31.327","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-1321","CWE-94"],"references":["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"],"products":["blitzjs:blitz","blitzjs:superjson"],"source":"nvd","synced_at":"2026-10-19T21:28:04.509275555+00:00"},"epss":{"cve":"CVE-2022-23631","score":0.02684,"percentile":0.8584,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-5888-ffcr-r425","url":"https://osv.dev/vulnerability/GHSA-5888-ffcr-r425","summary":"Prototype Pollution leading to Remote Code Execution in superjson","modified":"2026-07-08T06:29:19.779278557Z","packages":[{"ecosystem":"npm","name":"superjson","purl":"pkg:npm/superjson","ranges":["<1.8.1"],"fixed":["1.8.1"]},{"ecosystem":"npm","name":"blitz","purl":"pkg:npm/blitz","ranges":["<0.45.3"],"fixed":["0.45.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}