7.1
HIGH CVSS 3.1
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. 21, 2024, 6:25 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2021-41249 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Graphql playground
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 LOW [email protected]
CVSS 3.1 HIGH [email protected]
CVSS 3.1 MEDIUM [email protected]
References to Advisories, Solutions, and Tools
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.

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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/graphql/graphiql/security/advisories/GHSA-x4r7-m2q9-69c8
    Added Reference https://github.com/graphql/graphql-playground/commit/b8a956006835992f12c46b90384a79ab82bcadad
    Added Reference https://github.com/graphql/graphql-playground/security/advisories/GHSA-59r9-6jp6-jcm7
  • 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
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.1
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 2.6
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.31 }} -0.15%

score

0.53932

percentile