Description
Payload is a free and open source headless content management system. In @payloadcms/db-mongodb versions before 3.87.0 and canary versions before 4.0.0-canary.20, an authenticated user who can update a document can modify fields that field-level write access control does not permit that user to change. The Postgres and SQLite adapters are not affected. This issue is fixed in versions 3.87.0 and 4.0.0-canary.20.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| payloadcms | payload | < 3.87.0, >= 4.0.0-canary.0, < 4.0.0-canary.20 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @payloadcms/db-mongodb | < 3.87.0 | 3.87.0 | GHSA-4ww4-68q3-h7g5 |
| npm | @payloadcms/db-mongodb | >= 4.0.0-canary.0, < 4.0.0-canary.20 | 4.0.0-canary.20 | GHSA-4ww4-68q3-h7g5 |
References
- https://github.com/payloadcms/payload/security/advisories/GHSA-4ww4-68q3-h7g5
- https://github.com/payloadcms/payload/commit/2a69863deb0e3c87e36c1b3b17ab2d5b02fcb941
- https://github.com/payloadcms/payload/commit/8f77dffa9552885ec2710768cfee15b57e389935
- https://github.com/payloadcms/payload/releases/tag/v3.87.0