GraphQL Alias Overloading Enabled

medium Web App Scanning Plugin ID 114868

Synopsis

GraphQL Alias Overloading Enabled

Description

GraphQL is an open-source query and manipulation language for APIs. GraphQL alias overloading is a vulnerability where an attacker sends queries with numerous aliased fields to cause server performance degradation. The server must process each alias separately, which can lead to excessive CPU usage, memory consumption, and potentially denial of service.

Solution

Implement query complexity analysis that sets limits on the maximum number of aliases allowed per query and rejects requests exceeding predefined thresholds.

See Also

https://cheatsheetseries.owasp.org/cheatsheets/GraphQL_Cheat_Sheet.html

Plugin Details

Severity: Medium

ID: 114868

Type: remote

Published: 6/4/2025

Updated: 6/4/2025

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Low

Score: 1.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: Tenable

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

CVSS Score Source: Tenable

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS Score Source: Tenable

Reference Information