First published: Mon Jun 08 2020(Updated: )
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.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Prisma GraphQL Playground HTML | <1.6.22 | |
Prisma GraphQL Playground Middleware Express | <1.7.16 | |
Prisma GraphQL Playground Middleware Hapi | <1.6.13 | |
Prisma GraphQL Playground Middleware Koa | <1.6.15 | |
Prisma GraphQL Playground Middleware | <1.7.17 |
https://github.com/prisma-labs/graphql-playground/commit/bf1883db538c97b076801a60677733816cb3cfb7
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2020-4038 has a severe severity rating due to its risk of allowing XSS reflection attacks.
To fix CVE-2020-4038, upgrade to graphql-playground-html version 1.6.22 or later.
CVE-2020-4038 affects applications using the graphql-playground-html, graphql-playground-middleware-express, graphql-playground-middleware-hapi, graphql-playground-middleware-koa, and graphql-playground-middleware-lambda packages.
CVE-2020-4038 is an XSS reflection attack vulnerability due to unsanitized user input in the renderPlaygroundPage() method.
Developers and organizations using the affected versions of the Prisma GraphQL Playground packages should address CVE-2020-4038 immediately.