CVE-2020-4038 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/prisma-labs/graphql-playground/commit/bf1883db538c97b076801a60677733816cb3cfb7 | CVE | PatchThird Party Advisory |
| https://github.com/prisma-labs/graphql-playground/security/advisories/GHSA-4852-vrh7-28rf | CVE | MitigationThird Party Advisory |
| https://github.com/prisma-labs/graphql-playground#security-details | CVE | Third Party Advisory |
| https://github.com/prisma-labs/graphql-playground/commit/bf1883db538c97b076801a60677733816cb3cfb7 | [email protected] | PatchThird Party Advisory |
| https://github.com/prisma-labs/graphql-playground/security/advisories/GHSA-4852-vrh7-28rf | [email protected] | MitigationThird Party Advisory |
| https://github.com/prisma-labs/graphql-playground#security-details | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| prisma graphql-playground-html | < 1.6.22 |
CPE
Remediation
| |
| prisma graphql-playground-middleware-express | < 1.7.16 |
CPE
Remediation
| |
| prisma graphql-playground-middleware-hapi | < 1.6.13 |
CPE
Remediation
| |
| prisma graphql-playground-middleware-koa | < 1.6.15 |
CPE
Remediation
| |
| prisma graphql-playground-middleware-lambda | < 1.7.17 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jun 12, 2020 | Initial Analysis | [email protected] |