Read the docs
TI-2020-03527 Aliases CVE-2020-4038GHSA-4852-vrh7-28rf

Reflected XSS in GraphQL Playground

Priority MEDIUM 43CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

EPSS 0.07243 94th percentileScored 2026-11-07
Fix Fixed graphql-playground (prisma-labs): 1.6.22graphql-playground-html (npm): 1.6.22

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
prisma-labsgraphql-playgroundbefore 1.6.221.6.22Patch availableCNA
—graphql-playground-html (npm)before 1.6.221.6.22Patch availableGHSA-4852-vrh7-28rf
  • graphql-playground Vendorprisma-labs Affected before 1.6.22 Fixed in 1.6.22 Patch available CNA
  • graphql-playground-html (npm) Vendor— Affected before 1.6.22 Fixed in 1.6.22 Patch available GHSA-4852-vrh7-28rf

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:a:prisma:graphql-playground-html:*:*:*:*:*:node.js:*:*before 1.6.22Vulnerableprisma
cpe:2.3:a:prisma:graphql-playground-middleware-express:*:*:*:*:*:node.js:*:*before 1.7.16Vulnerableprisma
cpe:2.3:a:prisma:graphql-playground-middleware-hapi:*:*:*:*:*:node.js:*:*before 1.6.13Vulnerableprisma
cpe:2.3:a:prisma:graphql-playground-middleware-koa:*:*:*:*:*:node.js:*:*before 1.6.15Vulnerableprisma
cpe:2.3:a:prisma:graphql-playground-middleware-lambda:*:*:*:*:*:node.js:*:*before 1.7.17Vulnerableprisma
  • cpe:2.3:a:prisma:graphql-playground-html:*:*:*:*:*:node.js:*:* Versions before 1.6.22 Vulnerable ·prisma
  • cpe:2.3:a:prisma:graphql-playground-middleware-express:*:*:*:*:*:node.js:*:* Versions before 1.7.16 Vulnerable ·prisma
  • cpe:2.3:a:prisma:graphql-playground-middleware-hapi:*:*:*:*:*:node.js:*:* Versions before 1.6.13 Vulnerable ·prisma
  • cpe:2.3:a:prisma:graphql-playground-middleware-koa:*:*:*:*:*:node.js:*:* Versions before 1.6.15 Vulnerable ·prisma
  • cpe:2.3:a:prisma:graphql-playground-middleware-lambda:*:*:*:*:*:node.js:*:* Versions before 1.7.17 Vulnerable ·prisma

Remediation

  • Fix · CNA graphql-playground (prisma-labs) Fixed in 1.6.22
  • Fix · GHSA-4852-vrh7-28rf graphql-playground-html (npm) Fixed in 1.6.22 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-4038
  2. 2026-10-03 Alias added: GHSA-4852-vrh7-28rf

References

Sources