GHSA-v49j-62m6-pgrr
Payload: SQL Injection in SQLite and Postgres
Quick fix
GHSA-v49j-62m6-pgrr — payload: upgrade to the fixed version with the command below.
npm install payload@3.88.0Details
### Impact A user can submit a request that exploits a SQL Injection vulnerability in Payload.
You are affected if: - You use an affected Payload version. - Untrusted users can query readable collections using dynamic filters or joins.
You are not affected if you use MongoDB (`@payloadcms/mongodb`).
### Patches Users should upgrade Payload packages to `>= 3.88.0` or `>= 4.0.0-canary.27`.
### Workarounds Upgrading to a patched version is recommended. Until you can upgrade, restrict untrusted users from supplying dynamic query filters or join parameters and limit read access to affected collections.
Are you affected?
Enter the version of the package you're using.
Affected packages
4.0.0-canary.0Fixed in: 4.0.0-canary.27npm install payload@4.0.0-canary.27References
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"]}'