CVE-2020-4038
CVSS V2 Medium 4.3
CVSS V3 High 7.4
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.
Overview
- CVE ID
- CVE-2020-4038
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2020-06-08T21:15:09
- Last Modified Date
- 2020-06-12T14:38:19
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:prisma:graphql-playground-html:*:*:*:*:*:node.js:*:* | 1 | OR | 1.6.22 | |
cpe:2.3:a:prisma:graphql-playground-middleware-express:*:*:*:*:*:node.js:*:* | 1 | OR | 1.7.16 | |
cpe:2.3:a:prisma:graphql-playground-middleware-hapi:*:*:*:*:*:node.js:*:* | 1 | OR | 1.6.13 | |
cpe:2.3:a:prisma:graphql-playground-middleware-koa:*:*:*:*:*:node.js:*:* | 1 | OR | 1.6.15 | |
cpe:2.3:a:prisma:graphql-playground-middleware-lambda:*:*:*:*:*:node.js:*:* | 1 | OR | 1.7.17 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 7.4
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 4
References
Reference URL | Reference Tags |
---|---|
https://github.com/prisma-labs/graphql-playground/commit/bf1883db538c97b076801a60677733816cb3cfb7 | Patch Third Party Advisory |
https://github.com/prisma-labs/graphql-playground/security/advisories/GHSA-4852-vrh7-28rf | Mitigation Third Party Advisory |
https://github.com/prisma-labs/graphql-playground#security-details | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-4038 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-4038 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 17:28:20 | Added to TrackCVE | |||
2022-12-04 17:32:48 | 2020-06-08T21:15Z | 2020-06-08T21:15:09 | CVE Published Date | updated |
2022-12-04 17:32:48 | 2020-06-12T14:38:19 | CVE Modified Date | updated | |
2022-12-04 17:32:48 | Analyzed | Vulnerability Status | updated |