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.
Remediation
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/
Related Vulnerabilities
CVE-2022-24847 Vulnerability in maven package org.geoserver:gs-main
CVE-2022-24718 Vulnerability in npm package @finastra/ssr-pages
CVE-2020-8141 Vulnerability in maven package org.webjars.npm:dot
CVE-2018-3722 Vulnerability in npm package merge-deep
CVE-2018-20677 Vulnerability in maven package org.fujion.webjars:bootstrap