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

Not scored Published

Outdated x402 SDK versions pose a security risk to builders operating resource servers, requiring an upgrade to patched versions.

Exploited in the wild
Not known
Login needed
Not stated
Attackable
Over the internet
Victim action needed
Not stated
Fix
Available

What is GHSA-3j63-5h8p-gf7c?

GHSA-3j63-5h8p-gf7c is a vulnerability in x402, published on 20 Aug 2025. It can be exploited over the network.

Official 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

Which versions are affected by GHSA-3j63-5h8p-gf7c?

8 open source packages ship an affected version, including x402, x402-express and x402-hono.

PackageAffectedFixed in
x402 npmAll versions0.5.2
x402 npmAll versions0.5.2
x402-express npmAll versions0.5.2
x402-express npmAll versions0.5.2
x402-hono npmAll versions0.5.2
x402-hono npmAll versions0.5.2
2 more packages
x402-next npmAll versions0.5.2
x402-next npmAll versions0.5.2

How do I fix GHSA-3j63-5h8p-gf7c?

Upgrade x402 to 0.5.2 or later.

Is GHSA-3j63-5h8p-gf7c being exploited?

There is no known exploitation of GHSA-3j63-5h8p-gf7c in the wild and no public exploit code.

Sources

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

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free