VDB
Sign up
HIGH8.5

GHSA-7xxh-373w-35vg

Payload has an SQL Injection via Query Handling

Quick fix

GHSA-7xxh-373w-35vg — payload: upgrade to the fixed version with the command below.

npm install payload@3.79.1

Details

### Impact

Certain request inputs were not properly validated. An attacker could craft requests that influence SQL query execution, potentially exposing or modifying data in collections.

### Patches

This issue has been fixed in **v3.79.1** and later. Query input validation has been hardened.

Upgrade to **v3.79.1 or later**.

### Workarounds

Until developers can upgrade:

- Limit access to endpoints that accept dynamic query inputs to trusted users only. - Validate or sanitize input from untrusted clients before sending it to query endpoints.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/payload
Introduced in: 0Fixed in: 3.79.1
Fixnpm install payload@3.79.1

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:npm/payload"]}'