CVE-2023-30843: Payload Hidden Fields Can Be Leaked Vulnerability
HIGHCVE-2023-30843 is a HIGH (CVSS 7.4) hidden fields can be leaked vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Payload libraries in the npm ecosystem. The issue involves hidden fields can be leaked on readable collections in payload. Remediation is available by upgrading affected packages to version 1.7.0.
CVE-2023-30843 at a Glance
Security Impact
CVSS: 7.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2023-30843
To remediate this vulnerability, upgrade all affected Payload dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install payload@1.7.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls payload
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2023-30843, inspect your project dependencies using npm:
npm ls payload
Analyze the terminal output to locate any version of Payload in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.0), your application is affected.
Note: The npm ls payload command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Payload, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-30843 Affected Payload Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
payload
|
npm |
< 1.7.0
|
1.7.0
|
References
Frequently Asked Questions
What is CVE-2023-30843?
Which Payload versions are affected?
What version fixes CVE-2023-30843?
Is payload affected?
What is the CVSS score of CVE-2023-30843?
What CWE is associated with CVE-2023-30843?
How can I check npm dependencies for CVE-2023-30843?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-35jj-vqcf-f2jf",
"modified" : "2023-04-26T19:45:04Z",
"published" : "2023-04-26T19:45:04Z",
"aliases" : [ "CVE-2023-30843" ],
"summary" : "Hidden fields can be leaked on readable collections in Payload",
"details" : "### Details\n\nIf 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.\n\nAffected versions: < 1.7.0\n\n### Workarounds\n\nIf you are unable to update, you can write a `beforeOperation` hook to remove `where` queries that attempt to access hidden field data.\n\n### Detecting Compromise\n\nMonitor your instance for brute-force style requests against your instance using `where` queries.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "payload"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.7.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/payloadcms/payload/security/advisories/GHSA-35jj-vqcf-f2jf"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-30843"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/payloadcms/payload"
}, {
"type" : "WEB",
"url" : "https://github.com/payloadcms/payload/releases/tag/v1.7.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-04-26T19:45:04Z",
"nvd_published_at" : "2023-04-26T21:15:09Z"
}
}