Permissive JSON Input
Description
Inputable JSON scalars are an arbitrary scalar type that allow users to return JSON objects from the schema. It is a weak typing bad practice and may represent an unhandled data leak risk for your application.
Remediation
When possible, use typed input objects instead.
GraphQL Specific
Apollo
Yoga
Awsappsync
Graphqlgo
Graphqlruby
Hasura
Configuration
Identifier:
schema/permissive_json_input
Examples
Ignore this check
checks:
schema/permissive_json_input:
skip: true
Score
- Escape Severity: INFO
Compliance
OWASP: API10:2023
pci: 6.5.9
gdpr: Article-32
soc2: CC1
psd2: Article-95
iso27001: A.18.1
nist: SP800-53
fedramp: SI-10
Classification
- CWE: 20
Score
- CVSS_VECTOR: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N/E:H/RL:O/RC:C