Skip to main content

GraphQL IDE

Description

A GraphQL IDE provides an interface for users to interact with the Endpoint, but an IDE can also leave room for potential vulnerabilities.

Remediation

Disable GraphQL IDE, or restrict it. Head over to your specific engine documentation to know how to do it.

GraphQL Specific

Apollo

GraphQL Playground is deprecated and disabled by default since Apollo v3. If you installed it voluntarily with the corresponding plugin, you should consider disabling it to improve security.

If you still use Apollo v2, you can disable GraphQL Playground by either:

  • Setting the environment variable NODE_ENV to production
  • Explicitly disabling it:
    const server = new ApolloServer({
    // ...
    playground: false,
    });

Source:

Configuration

Identifier: configuration/ide_enabled

Examples

Ignore this check

{
"checks": {
"configuration/ide_enabled": {
"skip": true
}
}
}

Score

  • Escape Severity: LOW

CVSS

  • CVSS_VECTOR: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C
  • CVSS_SCORE: 4.8