CVE-2020-4038
Last modified
CVE-2020-4038 is a high-severity vulnerability rated 7.4/10 on the CVSS scale. 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. EPSS estimates a 7.24% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| 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-Lambda | < 1.7.17 |
References
- https://github.com/prisma-labs/graphql-playground#security-detailsThird Party Advisory
- https://github.com/prisma-labs/graphql-playground/commit/bf1883db538c97b076801a60677733816cb3cfb7Patch, Third Party Advisory
- https://github.com/prisma-labs/graphql-playground/security/advisories/GHSA-4852-vrh7-28rfMitigation, Third Party Advisory
- https://github.com/prisma-labs/graphql-playground#security-detailsThird Party Advisory
- https://github.com/prisma-labs/graphql-playground/commit/bf1883db538c97b076801a60677733816cb3cfb7Patch, Third Party Advisory
- https://github.com/prisma-labs/graphql-playground/security/advisories/GHSA-4852-vrh7-28rfMitigation, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-4038?
How severe is CVE-2020-4038?
How do I fix CVE-2020-4038?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-4030In FreeRDP before version 2.1.2, there is an out of bounds r…6.5
- CVE-2020-4031In FreeRDP before version 2.1.2, there is a use-after-free i…7.5
- CVE-2020-4032In FreeRDP before version 2.1.2, there is an integer casting…4.3
- CVE-2020-4033In FreeRDP before version 2.1.2, there is an out of bounds r…6.5
- CVE-2020-4035In WatermelonDB (NPM package "@nozbe/watermelondb") before v…5.9
- CVE-2020-4037In OAuth2 Proxy from version 5.1.1 and less than version 6.0…5.4
- CVE-2020-4039SUSI.AI is an intelligent Open Source personal assistant. SU…9.1
- CVE-2020-4040Bolt CMS before version 3.7.1 lacked CSRF protection in the …4.3
- CVE-2020-4041In Bolt CMS before version 3.7.1, the filename of uploaded f…6.1
- CVE-2020-4042Bareos before version 19.2.8 and earlier allows a malicious …6.8
- CVE-2020-4043phpMussel from versions 1.0.0 and less than 1.6.0 has an uns…9.8
- CVE-2020-4044The xrdp-sesman service before version 0.9.13.1 can be crash…7.8
Are you affected by CVE-2020-4038?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
