XSS in Prisma Graphql-Playground-Html
CVE-2020-4038
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.072 (94.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 94th percentile — 94.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.072 · newest: 0.072 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/prisma-labs/graphql-playground/security/advisories/GHSA-4852-vrh7-28… (Third Party Advisory, Mitigation)
- github.com/prisma-labs/graphql-playground/commit/bf1883db538c97b076801a60677733… (Patch, Third Party Advisory)
- github.com/prisma-labs/graphql-playground (Third Party Advisory)
Frequently asked questions
- What is CVE-2020-4038?
- CVE-2020-4038 is a high-severity vulnerability in Prisma Graphql-Playground-Html, classified under Cross-site Scripting. CVSS score: 7.4/10. Published 2020-06-08.
- How severe is CVE-2020-4038?
- High severity. CVSS v3 base score is 7.4 out of 10.
- Is CVE-2020-4038 known to be exploited?
- 9 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.