{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2020-4038","published":"2020-06-08T21:15:09.923000Z","last_modified":"2026-06-17T03:19:27.847000Z","status":"Modified","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:prisma:graphql-playground-html:*:*:*:*:*:node.js:*:*","part":"a","vendor":"prisma","product":"graphql-playground-html","version_end_excluding":"1.6.22"},{"criteria":"cpe:2.3:a:prisma:graphql-playground-middleware-express:*:*:*:*:*:node.js:*:*","part":"a","vendor":"prisma","product":"graphql-playground-middleware-express","version_end_excluding":"1.7.16"},{"criteria":"cpe:2.3:a:prisma:graphql-playground-middleware-hapi:*:*:*:*:*:node.js:*:*","part":"a","vendor":"prisma","product":"graphql-playground-middleware-hapi","version_end_excluding":"1.6.13"},{"criteria":"cpe:2.3:a:prisma:graphql-playground-middleware-koa:*:*:*:*:*:node.js:*:*","part":"a","vendor":"prisma","product":"graphql-playground-middleware-koa","version_end_excluding":"1.6.15"},{"criteria":"cpe:2.3:a:prisma:graphql-playground-middleware-lambda:*:*:*:*:*:node.js:*:*","part":"a","vendor":"prisma","product":"graphql-playground-middleware-lambda","version_end_excluding":"1.7.17"}],"cpes_truncated":false,"vendors":["prisma"],"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"],"epss":{"score":0.07243,"percentile":0.95096,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4852-vrh7-28rf","ecosystem":"npm","name":"graphql-playground-html","purl":"pkg:npm/graphql-playground-html","ranges":[{"introduced":"0","fixed":"1.6.22"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2020-4038/","html_en":"/en/cve/CVE-2020-4038/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-4038","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-4038"},"untrusted":{"vendor_name":"Prisma","product_name":"Graphql-playground-html","desc_en":"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.","affected":[{"untrusted_vendor":"prisma-labs","untrusted_product":"graphql-playground","versions":[]}],"references":[{"url":"https://github.com/prisma-labs/graphql-playground#security-details","tags":["Third Party Advisory"]},{"url":"https://github.com/prisma-labs/graphql-playground/commit/bf1883db538c97b076801a60677733816cb3cfb7","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/prisma-labs/graphql-playground/security/advisories/GHSA-4852-vrh7-28rf","tags":["Mitigation","Third Party Advisory"]}]}}