CVE-2020-4038

Summary

CVECVE-2020-4038
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-06-08 21:15:00 UTC
Updated2020-06-12 14:38:00 UTC
DescriptionGraphQL 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.

Risk And Classification

Problem Types: CWE-79

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Prisma Graphql-playground-html All All All All
Application Prisma Graphql-playground-html All All All All
Application Prisma Graphql-playground-middleware-express All All All All
Application Prisma Graphql-playground-middleware-express All All All All
Application Prisma Graphql-playground-middleware-hapi All All All All
Application Prisma Graphql-playground-middleware-hapi All All All All
Application Prisma Graphql-playground-middleware-koa All All All All
Application Prisma Graphql-playground-middleware-koa All All All All
Application Prisma Graphql-playground-middleware-lambda All All All All
Application Prisma Graphql-playground-middleware-lambda All All All All

References

ReferenceSourceLinkTags
GitHub - prisma-labs/graphql-playground: ???? GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration) MISC github.com Third Party Advisory
Merge pull request from GHSA-4852-vrh7-28rf · graphql/graphql-playground@bf1883d · GitHub MISC github.com Patch, Third Party Advisory
Reflected XSS in GraphQL Playground React, HTML and Middlewares · Advisory · graphql/graphql-playground · GitHub CONFIRM github.com Mitigation, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 980213 Nodejs (npm) Security Update for graphql-playground-html (GHSA-4852-vrh7-28rf)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report