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-2022-25204 Vulnerability in maven package by.dev.madhead.doktor:doktor
CVE-2022-47551 Vulnerability in maven package io.apiman:apiman-manager-api-beans
CVE-2018-3818 Vulnerability in npm package kibana
CVE-2021-21162 Vulnerability in maven package org.webjars.npm:electron
CVE-2020-13937 Vulnerability in maven package org.apache.kylin:kylin