XSS in Prisma Graphql-Playground-Html
CVE-2020-4038
- CVSS v3
- 7.4 High
- Public exploits
- None known
- EPSS
- 0.072 · 94.5th percentile
- Published
- 2020-06-08
What to do
- Fixed in
1.6.22- Affected
- 6 affected products
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- None
C:N - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.072, 94.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 9 other repositories (20142995/nuclei-templates, 2lambda123/graphql-playground, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
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)