{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-4038","id":"CVE-2020-4038","title":"Reflected XSS in GraphQL Playground","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 lim","descriptionLong":"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-08T20:40:12.000Z","updated":"2026-10-20T10:54:21.782660893Z","reserved":"2019-12-30T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":["prisma-labs graphql-playground"],"affectedProducts":[{"vendor":"prisma-labs","product":"graphql-playground","defaultStatus":null,"versions":[{"status":"affected","version":"< 1.6.22"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"graphql-playground-html","purl":"pkg:npm/graphql-playground-html","ranges":["<1.6.22"],"fixed":["1.6.22"],"advisory":"GHSA-4852-vrh7-28rf"}],"cwes":["CWE-79"],"aliases":["GHSA-4852-vrh7-28rf"],"references":[{"url":"https://github.com/prisma-labs/graphql-playground/security/advisories/GHSA-4852-vrh7-28rf","tags":["x_refsource_CONFIRM","x_transferred","Mitigation","Third Party Advisory","advisory","web"]},{"url":"https://github.com/prisma-labs/graphql-playground/commit/bf1883db538c97b076801a60677733816cb3cfb7","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/prisma-labs/graphql-playground#security-details","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/graphql/graphql-playground/security/advisories/GHSA-4852-vrh7-28rf","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-4038","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.07243,"epssPercentile":0.94449,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-4038","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-4038","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-4038","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-4852-vrh7-28rf","ok":true,"note":"GHSA-4852-vrh7-28rf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-4038","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}