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)

EPSS: 0.072 (93.7th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.