x402 SDK vulnerable in outdated versions in resource servers for builders
Impact
There is a security vulnerability in outdated versions of the x402 SDK. This does not directly affect users' keys, smart contracts, or funds.
This primarily impacts builders working on resource servers.
Patches
Please update to the following package versions:
- x402 >= 0.5.2
- x402-next >= 0.5.2
- x402-express >= 0.5.2
- x402-hono >= 0.5.2
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | x402 | < 0.5.2 | 0.5.2 |
| npm package | x402-express | < 0.5.2 | 0.5.2 |
| npm package | x402-hono | < 0.5.2 | 0.5.2 |
| npm package | x402-next | < 0.5.2 | 0.5.2 |
References
- Weakness (CWE)
-- Platform
- npm
- Package
x402, x402-express, x402-hono- Disclosed
- 20.08.2025
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-3j63-5h8p-gf7c - CC BY 4.0
Vulnerability history: x402-express
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.