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-0691 Vulnerability in npm package url-parse
CVE-2023-31582 Vulnerability in maven package org.bitbucket.b_c:jose4j
CVE-2020-13654 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore
CVE-2021-21306 Vulnerability in maven package org.webjars.npm:marked
CVE-2023-26486 Vulnerability in maven package org.webjars.bowergithub.vega:vega