BreachSpiderVerified, not vibes

CVE-2020-4038 in Prisma Graphql-Playground-Html and 4 more products

High 7.4

GraphQL Playground (graphql-playground-html NPM package) before version 1.6.22 have a severe XSS Reflection attack vulnerability. All unsanitized user input passed into renderPlaygroundPage() method could trigger this vulnerability. This has been patched in graphql-playground-html version 1.6.22. Note that some of t...

Affects 5 products from 1 vendor. Facts below cite their sources.

CVSS 3.17.4
EPSS7.2%
EPSS percentile95th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Prisma Graphql-Playground-Html < 1.6.22
Prisma Graphql-Playground-Middleware-Express < 1.7.16
Prisma Graphql-Playground-Middleware-Hapi < 1.6.13
Prisma Graphql-Playground-Middleware-Koa < 1.6.15
Prisma Graphql-Playground-Middleware-Lambda < 1.7.17

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

GraphQL Playground (graphql-playground-html NPM package) before version 1.6.22 have a severe XSS Reflection attack vulnerability. All unsanitized user input passed into renderPlaygroundPage() method could trigger this vulnerability. This has been patched in graphql-playground-html version 1.6.22. Note that some of the associated dependent middleware packages are also affected including but not limited to graphql-playground-middleware-express before version 1.7.16, graphql-playground-middleware-koa before version 1.6.15, graphql-playground-middleware-lambda before version 1.7.17, and graphql-playground-middleware-hapi before 1.6.13.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2020-4038
BreachSpider IDBS-2020-GLOBAL-184331-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
Published2020-06-08
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-79: Cross-Site Scripting (XSS)

Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.

Related attack patterns (CAPEC)

CAPEC-85 AJAX Footprinting via CWE-79

CAPEC-209 XSS Using MIME Type Mismatch via CWE-79

CAPEC-588 DOM-Based XSS via CWE-79

CAPEC-591 Reflected XSS via CWE-79

CAPEC-592 Stored XSS via CWE-79

Show all 6

CAPEC-63 Cross-Site Scripting (XSS) via CWE-79

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

GraphQL Playground (graphql-playground-html NPM package) versions before 1.6.22 are vulnerable to a Cross-Site Scripting (XSS) Reflection attack due to unsanitized user input in the renderPlaygroundPage() method.

The vulnerability arises from the improper handling of user input in the renderPlaygroundPage() method, which can be exploited by injecting malicious scripts into the GraphQL Playground interface.

Questions

What is CVE-2020-4038?

GraphQL Playground (graphql-playground-html NPM package) versions before 1.6.22 are vulnerable to a Cross-Site Scripting (XSS) Reflection attack due to unsanitized user input in the renderPlaygroundPage() method.

What is the CVSS score for CVE-2020-4038?

CVE-2020-4038 has CVSS 7.4 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N. EPSS: 7.2%.

Is CVE-2020-4038 actively exploited?

No confirmed active exploitation of CVE-2020-4038 as of 2026-09-25.

How do I remediate CVE-2020-4038?

Priority: HIGH.

What systems are affected by CVE-2020-4038?

CVE-2020-4038 affects Prisma Graphql-Playground-Html, Graphql-Playground-Middleware-Express, Graphql-Playground-Middleware-Hapi, Graphql-Playground-Middleware-Koa, Graphql-Playground-Middleware-Lambda.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Prisma","product":"Graphql-Playground-Html","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.