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/blitz-js/superjson/security/advisories/GHSA-5888-ffcr-r425
https://github.com/advisories/GHSA-5888-ffcr-r425
https://www.sonarsource.com/blog/blitzjs-prototype-pollution/
Related Vulnerabilities
CVE-2022-41710 Vulnerability in npm package electron-markdownify
CVE-2021-4305 Vulnerability in npm package robots-txt-guard
CVE-2022-36886 Vulnerability in maven package org.jenkins-ci.plugins:external-monitor-job
CVE-2023-0842 Vulnerability in maven package org.webjars.npm:xml2js
CVE-2021-34428 Vulnerability in maven package org.eclipse.jetty:jetty-server