CVE-2020-15126: GraphQL: Security breach on Viewer query
6.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.6322%
CWE
Published
7/22/2020
Updated
10/26/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
parse-server | npm | >= 3.5.0, < 4.3.0 | 4.3.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper authorization in the viewer query implementation. The commit 78239ac modifies usersQueries.js
, which typically contains GraphQL query resolvers. The 'viewer' query specifically returns the authenticated user's data but lacked proper security checks. In Parse Server architecture, this resolver should validate()
read permissions through ACLs and Class-Level Permissions (CLPs), but the vulnerable versions skipped these checks for the user's own object and related pointers/relations.