{"id":"CVE-2020-4038","url":"https://www.cyber-defence.io/tools/cve/CVE-2020-4038","generatedAt":"2026-10-28T05:26:31.551Z","title":"GraphQL Playground (graphql-playground-html NPM package) before version 1.6.22 have a severe XSS Reflection attack vulnerability.","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.","published":"2020-06-08T21:15:10.000Z","lastModified":"2026-06-17T03:19:28.000Z","status":"Modified","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":7.4,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N"},"cwe":["CWE-79"],"affected":["prisma/graphql-playground-html","prisma/graphql-playground-middleware-express","prisma/graphql-playground-middleware-hapi","prisma/graphql-playground-middleware-koa","prisma/graphql-playground-middleware-lambda"],"epss":{"score":0.07243,"percentile":0.94301,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (7.24%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/prisma-labs/graphql-playground#security-details","tags":["Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/prisma-labs/graphql-playground/commit/bf1883db538c97b076801a60677733816cb3cfb7","tags":["Patch","Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/prisma-labs/graphql-playground/security/advisories/GHSA-4852-vrh7-28rf","tags":["Mitigation","Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/prisma-labs/graphql-playground#security-details","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/prisma-labs/graphql-playground/commit/bf1883db538c97b076801a60677733816cb3cfb7","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/prisma-labs/graphql-playground/security/advisories/GHSA-4852-vrh7-28rf","tags":["Mitigation","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-4038","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}