Security mailing lists by PureSourceCode

CVE-2020-4038

HIGH 7.4CVSS 3.1

Reflected XSS in GraphQL Playground

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
8 Jun 2020
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-4852-vrh7-28rf
Sources
NVDJSONOSV GHSA-4852-vrh7-28rfJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD prisma graphql-playground-html
cpe:2.3:a:prisma:graphql-playground-html:*:*:*:*:*:node.js:*:*
< 1.6.22 1.6.22
NVD prisma graphql-playground-middleware-express
cpe:2.3:a:prisma:graphql-playground-middleware-express:*:*:*:*:*:node.js:*:*
< 1.7.16 1.7.16
NVD prisma graphql-playground-middleware-hapi
cpe:2.3:a:prisma:graphql-playground-middleware-hapi:*:*:*:*:*:node.js:*:*
< 1.6.13 1.6.13
NVD prisma graphql-playground-middleware-koa
cpe:2.3:a:prisma:graphql-playground-middleware-koa:*:*:*:*:*:node.js:*:*
< 1.6.15 1.6.15
NVD prisma graphql-playground-middleware-lambda
cpe:2.3:a:prisma:graphql-playground-middleware-lambda:*:*:*:*:*:node.js:*:*
< 1.7.17 1.7.17
OSV npm graphql-playground-html < 1.6.22 1.6.22

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 8 Jun 2020)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 9 Jun 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.