CVE-2021-41249
GraphQL Playground GraphQLIDE GraphQL Type Name Injection Vulnerability
Description
GraphQL Playground is a GraphQL IDE for development of graphQL focused applications. All versions of graphql-playground-react older than [email protected] 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.
INFO
Published Date :
Nov. 4, 2021, 8:15 p.m.
Last Modified :
Nov. 9, 2021, 3:47 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.5
Exploitability Score :
1.6
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-41249
.
URL | Resource |
---|---|
https://github.com/graphql/graphiql/security/advisories/GHSA-x4r7-m2q9-69c8 | Not Applicable Third Party Advisory |
https://github.com/graphql/graphql-playground/commit/b8a956006835992f12c46b90384a79ab82bcadad | Patch Third Party Advisory |
https://github.com/graphql/graphql-playground/security/advisories/GHSA-59r9-6jp6-jcm7 | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-41249
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-41249
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Nov. 09, 2021
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 NIST (AV:N/AC:H/Au:N/C:N/I:P/A:N) Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N Changed Reference Type https://github.com/graphql/graphiql/security/advisories/GHSA-x4r7-m2q9-69c8 No Types Assigned https://github.com/graphql/graphiql/security/advisories/GHSA-x4r7-m2q9-69c8 Not Applicable, Third Party Advisory Changed Reference Type https://github.com/graphql/graphql-playground/commit/b8a956006835992f12c46b90384a79ab82bcadad No Types Assigned https://github.com/graphql/graphql-playground/commit/b8a956006835992f12c46b90384a79ab82bcadad Patch, Third Party Advisory Changed Reference Type https://github.com/graphql/graphql-playground/security/advisories/GHSA-59r9-6jp6-jcm7 No Types Assigned https://github.com/graphql/graphql-playground/security/advisories/GHSA-59r9-6jp6-jcm7 Third Party Advisory Added CWE NIST CWE-79 Added CPE Configuration OR *cpe:2.3:a:graphql:playground:*:*:*:*:*:node.js:*:* versions up to (excluding) 1.7.28
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-41249
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-41249
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.08 }} 0.00%
score
0.32664
percentile