Read the docs
TI-2021-18084 Aliases CVE-2021-41249GHSA-59r9-6jp6-jcm7

XSS vulnerability in GraphQL Playground

Priority LOW 34CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

EPSS 0.01221 68th percentileScored 2026-11-07
Fix Fixed graphql-playground (graphql): 1.7.28graphql-playground-react (npm): 1.7.28

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
graphqlgraphql-playgroundbefore 1.7.281.7.28Patch availableCNA
—graphql-playground-react (npm)before 1.7.281.7.28Patch availableGHSA-59r9-6jp6-jcm7
  • graphql-playground Vendorgraphql Affected before 1.7.28 Fixed in 1.7.28 Patch available CNA
  • graphql-playground-react (npm) Vendor— Affected before 1.7.28 Fixed in 1.7.28 Patch available GHSA-59r9-6jp6-jcm7

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:graphql:playground:*:*:*:*:*:node.js:*:*before 1.7.28Vulnerablegraphql
  • cpe:2.3:a:graphql:playground:*:*:*:*:*:node.js:*:* Versions before 1.7.28 Vulnerable ·graphql

Remediation

  • Fix · CNA graphql-playground (graphql) Fixed in 1.7.28
  • Fix · GHSA-59r9-6jp6-jcm7 graphql-playground-react (npm) Fixed in 1.7.28 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-41249
  2. 2026-10-03 Alias added: GHSA-59r9-6jp6-jcm7

References

Sources