Description
Payload is a free and open source headless content management system. In versions prior to 1.7.0, if a user has access to documents that contain hidden fields or fields they do not have access to, the user could reverse-engineer those values via brute force. Version 1.7.0 contains a patch. As a workaround, write a `beforeOperation` hook to remove `where` queries that attempt to access hidden field data.
Remediation
References
https://github.com/payloadcms/payload/releases/tag/v1.7.0
https://github.com/payloadcms/payload/security/advisories/GHSA-35jj-vqcf-f2jf
Related Vulnerabilities
CVE-2021-45457 Vulnerability in maven package org.apache.kylin:kylin-server
CVE-2021-1626 Vulnerability in maven package org.mule.runtime:mule
CVE-2018-10912 Vulnerability in maven package org.keycloak:keycloak-model-infinispan
CVE-2023-49800 Vulnerability in npm package nuxt-api-party
CVE-2022-21802 Vulnerability in maven package org.webjars.npm:grapesjs