CVE-2020-4038
GraphQL Playground NPM Package XML External Entity (XXE) Injection
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.
INFO
Published Date :
June 8, 2020, 9:15 p.m.
Last Modified :
June 12, 2020, 2:38 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
4.0
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2020-4038 has a 7 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2020-4038
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2020-4038
.
URL | Resource |
---|---|
https://github.com/prisma-labs/graphql-playground#security-details | Third Party Advisory |
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 |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
CSS HTML JavaScript
None
JavaScript TypeScript CSS HTML Shell
None
JavaScript TypeScript CSS HTML Shell
None
Python XSLT
None
JavaScript TypeScript CSS HTML Shell
essential templates for kenzer [DEPRECATED]
kenzer vulnerabilities kenzer-templates arpsyndicate
Python Shell Ruby
🎮 GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)
graphql ide graphiql prisma graphql-playground
JavaScript CSS HTML TypeScript Shell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2020-4038
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2020-4038
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Jun. 12, 2020
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:N/I:P/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N Changed Reference Type https://github.com/prisma-labs/graphql-playground#security-details No Types Assigned https://github.com/prisma-labs/graphql-playground#security-details Third Party Advisory Changed Reference Type https://github.com/prisma-labs/graphql-playground/commit/bf1883db538c97b076801a60677733816cb3cfb7 No Types Assigned https://github.com/prisma-labs/graphql-playground/commit/bf1883db538c97b076801a60677733816cb3cfb7 Patch, Third Party Advisory Changed Reference Type https://github.com/prisma-labs/graphql-playground/security/advisories/GHSA-4852-vrh7-28rf No Types Assigned https://github.com/prisma-labs/graphql-playground/security/advisories/GHSA-4852-vrh7-28rf Mitigation, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:prisma:graphql-playground-html:*:*:*:*:*:node.js:*:* versions up to (excluding) 1.6.22 *cpe:2.3:a:prisma:graphql-playground-middleware-express:*:*:*:*:*:node.js:*:* versions up to (excluding) 1.7.16 *cpe:2.3:a:prisma:graphql-playground-middleware-hapi:*:*:*:*:*:node.js:*:* versions up to (excluding) 1.6.13 *cpe:2.3:a:prisma:graphql-playground-middleware-koa:*:*:*:*:*:node.js:*:* versions up to (excluding) 1.6.15 *cpe:2.3:a:prisma:graphql-playground-middleware-lambda:*:*:*:*:*:node.js:*:* versions up to (excluding) 1.7.17
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2020-4038
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2020-4038
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.16 }} -0.00%
score
0.51399
percentile