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-2020-14967 Vulnerability in maven package org.webjars.npm:jsrsasign
CVE-2022-0436 Vulnerability in maven package org.webjars.npm:grunt
CVE-2020-28269 Vulnerability in npm package field
CVE-2023-47326 Vulnerability in maven package org.silverpeas.core:silverpeas-core
CVE-2020-13942 Vulnerability in maven package org.apache.unomi:unomi-persistence-elasticsearch-core