CVE-2020-4038 Reflected XSS in GraphQL Playground
HighCVSS 7.4
EPSS 7.2%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm graphql-playground-html(npm) | < 1.6.22 | 1.6.22 |
| prisma graphql-playground-html | < 1.6.22 | 1.6.22 |
| prisma graphql-playground-middleware-express | < 1.7.16 | 1.7.16 |
| prisma graphql-playground-middleware-hapi | < 1.6.13 | 1.6.13 |
| prisma graphql-playground-middleware-koa | < 1.6.15 | 1.6.15 |
| prisma graphql-playground-middleware-lambda | < 1.7.17 | 1.7.17 |
| prisma-labs graphql-playground | = < 1.6.22 | No fix listed |
References
- github.com mitigation third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com third-party-advisory
- github.com vendor-advisory
- github.com