CVE-2020-4038: Reflected XSS in GraphQL Playground

Published Jun 8, 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.

Affected Software

5 affected components
Prisma Graphql-playground-html Node.js<1.6.22
Prisma Graphql-playground-middleware-express Node.js<1.7.16
Prisma Graphql-playground-middleware-hapi Node.js<1.6.13
Prisma Graphql-playground-middleware-koa Node.js<1.6.15
Prisma Graphql-playground-middleware-lambda Node.js<1.7.17

Event History

Jun 8, 2020
CVE Published
via MITRE·08:40 PM
Data Sourced
via MITRE·08:40 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2020-4038?

CVE-2020-4038 has a severe severity rating due to its risk of allowing XSS reflection attacks.

2

How do I fix CVE-2020-4038?

To fix CVE-2020-4038, upgrade to graphql-playground-html version 1.6.22 or later.

3

What types of applications are affected by CVE-2020-4038?

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.

4

What kind of vulnerability is CVE-2020-4038?

CVE-2020-4038 is an XSS reflection attack vulnerability due to unsanitized user input in the renderPlaygroundPage() method.

5

Who should be concerned about CVE-2020-4038?

Developers and organizations using the affected versions of the Prisma GraphQL Playground packages should address CVE-2020-4038 immediately.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203