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-2019-10335 Vulnerability in maven package org.jenkins-ci.plugins:electricflow
CVE-2023-35145 Vulnerability in maven package org.jenkins-ci.plugins:sonargraph-integration
CVE-2020-16044 Vulnerability in npm package electron
CVE-2022-24785 Vulnerability in maven package org.webjars.bowergithub.moment:moment