Vulnerability · Published Apr 26, 2023 · Assigned by GitHub_M
CVE-2023-30843Payload's hidden fields can be leaked on readable collections
High 7.4
In plain English
A high-severity information exposure in payload from payloadcms. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | payload | 1.7.0 | GHSA-35jj-vqcf-f2jf |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| payloadcms | payload | < 1.7.0 |
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/payloadcms/payload/security/advisories/GHSA-35jj-vqcf-f2jf x_refsource_CONFIRM
- https://github.com/payloadcms/payload/releases/tag/v1.7.0 x_refsource_MISC