Vulnerability Details CVE-2021-41249
GraphQL Playground is a GraphQL IDE for development of graphQL focused applications. All versions of graphql-playground-react older than graphql-playground-react@1.7.28 are vulnerable to compromised HTTP schema introspection responses or schema prop values with malicious GraphQL type names, exposing a dynamic XSS attack surface that can allow code injection on operation autocomplete. In order for the attack to take place, the user must load a malicious schema in graphql-playground. There are several ways this can occur, including by specifying the URL to a malicious schema in the endpoint query parameter. If a user clicks on a link to a GraphQL Playground installation that specifies a malicious server, arbitrary JavaScript can run in the user's browser, which can be used to exfiltrate user credentials or other harmful goals. If you are using graphql-playground-react directly in your client app, upgrade to version 1.7.28 or later.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.003
EPSS Ranking 55.6%
CVSS Severity
CVSS v3 Score 7.1
CVSS v2 Score 2.6
Products affected by CVE-2021-41249
-
cpe:2.3:a:graphql:playground:-
-
cpe:2.3:a:graphql:playground:1.0.0
-
cpe:2.3:a:graphql:playground:1.0.1
-
cpe:2.3:a:graphql:playground:1.0.2
-
cpe:2.3:a:graphql:playground:1.1.0
-
cpe:2.3:a:graphql:playground:1.1.1
-
cpe:2.3:a:graphql:playground:1.1.6
-
cpe:2.3:a:graphql:playground:1.2.0
-
cpe:2.3:a:graphql:playground:1.3.0
-
cpe:2.3:a:graphql:playground:1.3.10
-
cpe:2.3:a:graphql:playground:1.3.11
-
cpe:2.3:a:graphql:playground:1.3.12
-
cpe:2.3:a:graphql:playground:1.3.13
-
cpe:2.3:a:graphql:playground:1.3.14
-
cpe:2.3:a:graphql:playground:1.3.15
-
cpe:2.3:a:graphql:playground:1.3.16
-
cpe:2.3:a:graphql:playground:1.3.17
-
cpe:2.3:a:graphql:playground:1.3.18
-
cpe:2.3:a:graphql:playground:1.3.19
-
cpe:2.3:a:graphql:playground:1.3.20
-
cpe:2.3:a:graphql:playground:1.3.21
-
cpe:2.3:a:graphql:playground:1.3.22
-
cpe:2.3:a:graphql:playground:1.3.23
-
cpe:2.3:a:graphql:playground:1.3.24
-
cpe:2.3:a:graphql:playground:1.3.4
-
cpe:2.3:a:graphql:playground:1.3.5
-
cpe:2.3:a:graphql:playground:1.3.6
-
cpe:2.3:a:graphql:playground:1.3.7
-
cpe:2.3:a:graphql:playground:1.3.8
-
cpe:2.3:a:graphql:playground:1.3.9
-
cpe:2.3:a:graphql:playground:1.4.0
-
cpe:2.3:a:graphql:playground:1.4.1
-
cpe:2.3:a:graphql:playground:1.4.2
-
cpe:2.3:a:graphql:playground:1.4.3
-
cpe:2.3:a:graphql:playground:1.4.4
-
cpe:2.3:a:graphql:playground:1.4.5
-
cpe:2.3:a:graphql:playground:1.5.0
-
cpe:2.3:a:graphql:playground:1.5.1
-
cpe:2.3:a:graphql:playground:1.5.2
-
cpe:2.3:a:graphql:playground:1.5.3
-
cpe:2.3:a:graphql:playground:1.5.4
-
cpe:2.3:a:graphql:playground:1.5.5
-
cpe:2.3:a:graphql:playground:1.5.6
-
cpe:2.3:a:graphql:playground:1.5.7
-
cpe:2.3:a:graphql:playground:1.5.8
-
cpe:2.3:a:graphql:playground:1.5.9
-
cpe:2.3:a:graphql:playground:1.6.0
-
cpe:2.3:a:graphql:playground:1.6.1
-
cpe:2.3:a:graphql:playground:1.6.2
-
cpe:2.3:a:graphql:playground:1.6.3
-
cpe:2.3:a:graphql:playground:1.7.0