NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦 npm
Not in CISA KEV

x402 SDK vulnerable in outdated versions in resource servers for buildersGHSA-3j63-5h8p-gf7c

GHSA-3j63-5h8p-gf7c is a security vulnerability in x402. A fix is available for x402 — see the affected versions and patch details below.

Published
Updated
Affected
4 pkgs
Patched
4 / 4
Exploits
None indexed
Exploitation data as of Aug 20, 2025 · OSV.dev, FIRST.org (EPSS)

Real-World Exposure

4 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

132other npm packages depend on this — each one inherits the vulnerability until it's patched upstream
x402npm
715Kdownloads / week
x402-nextnpm
2Kdownloads / week
x402-expressnpm
8Kdownloads / week

Description

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 Packages

4 total 4 fixed
EcosystemPackageVulnerable rangeFix
📦npmx402all versions0.5.2npm install x402@0.5.2
📦npmx402-nextall versions0.5.2npm install x402-next@0.5.2
📦npmx402-expressall versions0.5.2npm install x402-express@0.5.2
📦npmx402-honoall versions0.5.2npm install x402-hono@0.5.2

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for x402, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update x402 to 0.5.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-3j63-5h8p-gf7c is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

### 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
O3 Security · Impact-Aware SCA

Is GHSA-3j63-5h8p-gf7c in your dependencies?

Find it across npm, including transitive dependencies.

x402 SDK vulnerable in outdated versions in resource…