7.4
HIGH
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.

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.

ID Vendor Product Action
1 Prisma graphql-playground-html
2 Prisma graphql-playground-middleware-express
3 Prisma graphql-playground-middleware-hapi
4 Prisma graphql-playground-middleware-koa
5 Prisma graphql-playground-middleware-lambda
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

Updated: 9 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Feb. 2, 2024, 2:11 p.m. This repo has been linked 494 different CVEs too.

None

JavaScript TypeScript CSS HTML Shell

Updated: 5 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : May 13, 2023, 12:45 p.m. This repo has been linked 1 different CVEs too.

None

JavaScript TypeScript CSS HTML Shell

Updated: 1 year, 4 months ago
4 stars 0 fork 0 watcher
Born at : Jan. 16, 2023, 6:46 a.m. This repo has been linked 1 different CVEs too.

None

Python XSLT

Updated: 2 days, 22 hours ago
19 stars 5 fork 5 watcher
Born at : May 22, 2021, 4:29 p.m. This repo has been linked 350 different CVEs too.

None

JavaScript TypeScript CSS HTML Shell

Updated: 3 years, 6 months ago
0 stars 0 fork 0 watcher
Born at : May 4, 2021, 7:09 p.m. This repo has been linked 1 different CVEs too.

essential templates for kenzer [DEPRECATED]

kenzer vulnerabilities kenzer-templates arpsyndicate

Python Shell Ruby

Updated: 1 week, 2 days ago
109 stars 34 fork 34 watcher
Born at : Sept. 18, 2020, 9:03 p.m. This repo has been linked 1654 different CVEs too.

🎮 GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)

graphql ide graphiql prisma graphql-playground

JavaScript CSS HTML TypeScript Shell

Updated: 4 days, 23 hours ago
8777 stars 701 fork 701 watcher
Born at : Jan. 25, 2017, 1:19 p.m. This repo has been linked 1 different CVEs too.

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
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability