SCA: security update for graphql-playground-react (GHSA-59r9-6jp6-jcm7)

medium Tenable Cloud Security Plugin ID 410746

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2021-41249)

See Also

https://github.com/advisories/GHSA-59r9-6jp6-jcm7

Plugin Details

Severity: Medium

ID: 410746

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 8.67

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Low

Base Score: 2.6

Temporal Score: 1.9

Vector: CVSS2#AV:N/AC:H/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2021-41249

CVSS v3

Risk Factor: Medium

Base Score: 4.7

Temporal Score: 4.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 11/8/2021

Vulnerability Publication Date: 11/4/2021

Reference Information

CVE: CVE-2021-41249

cwe: CWE-79