Advisory

GHSA-3j63-5h8p-gf7c

Also known as: None

Summary

x402 SDK vulnerable in outdated versions in resource servers for builders

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-08-20 20:51 UTC
Modified
2025-08-20 20:51 UTC

Affected packages and fixes

x402

npm · All systems

Affected

  • introduced 0, fixed 0.5.2 (semver)

Fixed versions

0.5.2

Fix

x402-next

npm · All systems

Affected

  • introduced 0, fixed 0.5.2 (semver)

Fixed versions

0.5.2

Fix

x402-express

npm · All systems

Affected

  • introduced 0, fixed 0.5.2 (semver)

Fixed versions

0.5.2

Fix

x402-hono

npm · All systems

Affected

  • introduced 0, fixed 0.5.2 (semver)

Fixed versions

0.5.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences