Reflected XSS in GraphQL Playground
Published Jun 8, 2020
7.4
HIGHCVSS 3.1
EPSS 7.24%
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.
Affected products
-
- Version < 1.6.22StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Prisma-Labs | Graphql-Playground | n/a |
|
- < 1.6.22
- < 1.7.16
- < 1.6.13
- < 1.6.15
- < 1.7.17
No data.
No Red Hat product state for this CVE.
graphql-playground-html
npm
Introduced 0 Fixed 1.6.22
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | graphql-playground-html | 0 | 1.6.22 |
Remediation
No remediation recorded yet.
References (7)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-0456 Advisory
- https://github.com/advisories/GHSA-4852-vrh7-28rf Advisory
- https://github.com/graphql/graphql-playground/security/advisories/GHSA-4852-vrh7-28rf
- https://github.com/prisma-labs/graphql-playground#security-details x_refsource_MISCThird Party Advisory
- https://github.com/prisma-labs/graphql-playground/commit/bf1883db538c97b076801a60677733816cb3cfb7 x_refsource_MISCPatchThird Party Advisory
- https://github.com/prisma-labs/graphql-playground/security/advisories/GHSA-4852-vrh7-28rf x_refsource_CONFIRMMitigationThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-4038
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-0456 | Advisory | |
| https://github.com/advisories/GHSA-4852-vrh7-28rf | Advisory | |
| https://github.com/graphql/graphql-playground/security/advisories/GHSA-4852-vrh7-28rf | ||
| https://github.com/prisma-labs/graphql-playground#security-details | x_refsource_MISCThird Party Advisory | |
| https://github.com/prisma-labs/graphql-playground/commit/bf1883db538c97b076801a60677733816cb3cfb7 | x_refsource_MISCPatchThird Party Advisory | |
| https://github.com/prisma-labs/graphql-playground/security/advisories/GHSA-4852-vrh7-28rf | x_refsource_CONFIRMMitigationThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-4038 |
Change history (0)
No recorded changes yet.