Description (CNA)
Payload is a free and open source headless content management system. Prior to 3.90.0 and 4.0.0-canary.34, an attacker with read and create or update access to a collection containing a json field or a blocks field with blocksAsJSON enabled can inject SQL through a crafted field path and operators. Collections without those fields are not affected, and richText fields are not affected. The SQLite packages are fixed in versions 3.90.0 and 4.0.0-canary.34, and the Postgres packages are fixed in version 3.73.0.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| payloadcms / payload | affected >= 3.0.0, < 3.90.0; affected >= 4.0.0-canary.0, < 4.0.0-canary.34 |
| @payloadcms / db-d1-sqlite | affected >= 3.0.0, < 3.90.0; affected >= 4.0.0-canary.0, < 4.0.0-canary.34 |
| @payloadcms / db-postgres | affected >= 3.0.0 < 3.73.0 |
| @payloadcms / db-sqlite | affected >= 3.0.0, < 3.90.0; affected >= 4.0.0-canary.0, < 4.0.0-canary.34 |
| @payloadcms / db-vercel-postgres | affected >= 3.0.0 < 3.73.0 |
CWE
CWE-89
References
- https://github.com/payloadcms/payload/security/advisories/GHSA-pj7x-6wpf-pgvp
- https://github.com/payloadcms/payload/commit/03b78c7e0901d19c67f07bdf6396a276010adbcc
- https://github.com/payloadcms/payload/releases/tag/v3.90.0
ADP enrichment
No English description supplied.
No references supplied.