{"cve":"CVE-2020-4038","nvd":{"published":"2020-06-08T21:15:09.923","modified":"2026-06-17T03:19:27.847","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N","score":7.4},"cwes":["CWE-79"],"references":["https://github.com/prisma-labs/graphql-playground#security-details","https://github.com/prisma-labs/graphql-playground/commit/bf1883db538c97b076801a60677733816cb3cfb7","https://github.com/prisma-labs/graphql-playground/security/advisories/GHSA-4852-vrh7-28rf","https://github.com/prisma-labs/graphql-playground#security-details","https://github.com/prisma-labs/graphql-playground/commit/bf1883db538c97b076801a60677733816cb3cfb7"],"products":["prisma:graphql-playground-html","prisma:graphql-playground-middleware-express","prisma:graphql-playground-middleware-hapi","prisma:graphql-playground-middleware-koa","prisma:graphql-playground-middleware-lambda"],"source":"nvd","synced_at":"2026-10-19T21:05:42.039641217+00:00"},"epss":{"cve":"CVE-2020-4038","score":0.07243,"percentile":0.94334,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4852-vrh7-28rf","url":"https://osv.dev/vulnerability/GHSA-4852-vrh7-28rf","summary":"Reflected XSS in GraphQL Playground","modified":"2026-07-08T05:59:49.227442073Z","packages":[{"ecosystem":"npm","name":"graphql-playground-html","purl":"pkg:npm/graphql-playground-html","ranges":["<1.6.22"],"fixed":["1.6.22"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}