Vulnerability Details : 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 category: Cross site scripting (XSS)
Products affected by CVE-2020-4038
- cpe:2.3:a:prisma:graphql-playground-html:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:prisma:graphql-playground-middleware-express:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:prisma:graphql-playground-middleware-hapi:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:prisma:graphql-playground-middleware-koa:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:prisma:graphql-playground-middleware-lambda:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-4038
33.49%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 97 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-4038
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:N |
8.6
|
2.9
|
NIST | |
7.4
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N |
2.8
|
4.0
|
NIST | |
7.4
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N |
2.8
|
4.0
|
GitHub, Inc. |
CWE ids for CVE-2020-4038
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: security-advisories@github.com (Primary)
References for CVE-2020-4038
-
https://github.com/prisma-labs/graphql-playground#security-details
GitHub - prisma-labs/graphql-playground: 馃幃 GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)Third Party Advisory
-
https://github.com/prisma-labs/graphql-playground/security/advisories/GHSA-4852-vrh7-28rf
Reflected XSS in GraphQL Playground React, HTML and Middlewares 路 Advisory 路 prisma-labs/graphql-playground 路 GitHubMitigation;Third Party Advisory
-
https://github.com/prisma-labs/graphql-playground/commit/bf1883db538c97b076801a60677733816cb3cfb7
Merge pull request from GHSA-4852-vrh7-28rf 路 prisma-labs/graphql-playground@bf1883d 路 GitHubPatch;Third Party Advisory
Jump to