Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/superjson@1.8.0
purl pkg:npm/superjson@1.8.0
Next non-vulnerable version 1.8.1
Latest non-vulnerable version 1.9.0-0
Risk 4.5
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-zfvp-huf3-3bf4
Aliases:
CVE-2022-23631
GHSA-5888-ffcr-r425
Improper Control of Generation of Code ('Code Injection') superjson is a program to allow JavaScript expressions to be serialized to a superset of JSON. 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 Users are advised to update. There are no known workarounds for this issue.
1.8.1
Affected by 0 other vulnerabilities.
1.9.0-0
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-06T01:24:41.665015+00:00 GitLab Importer Affected by VCID-zfvp-huf3-3bf4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/superjson/CVE-2022-23631.yml 38.6.0