6.1
MEDIUM
CVE-2018-6341
Facebook React ReactDOMServer Uncontrolled Attribute XSS
Description

React applications which rendered to HTML using the ReactDOMServer API were not escaping user-supplied attribute names at render-time. That lack of escaping could lead to a cross-site scripting vulnerability. This issue affected minor releases 16.0.x, 16.1.x, 16.2.x, 16.3.x, and 16.4.x. It was fixed in 16.0.1, 16.1.2, 16.2.1, 16.3.3, and 16.4.2.

INFO

Published Date :

Dec. 31, 2018, 10:29 p.m.

Last Modified :

Oct. 9, 2019, 11:41 p.m.

Remotely Exploitable :

Yes !

Impact Score :

2.7

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2018-6341 has a 5 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-2018-6341 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 Facebook react
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-2018-6341.

URL Resource
https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html Vendor Advisory
https://twitter.com/reactjs/status/1024745321987887104 Vendor 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).

CVE-2018-6341

JavaScript HTML

Updated: 1 year, 7 months ago
0 stars 0 fork 0 watcher
Born at : March 20, 2023, 11:50 p.m. This repo has been linked 1 different CVEs too.

Uma mostra evolutiva das versões do react retirado do próprio projeto react

Updated: 2 years, 7 months ago
1 stars 0 fork 0 watcher
Born at : March 30, 2022, 8:36 p.m. This repo has been linked 1 different CVEs too.

None

JavaScript HTML CSS Shell CoffeeScript TypeScript Makefile Python C++ C

Updated: 3 years, 10 months ago
0 stars 0 fork 0 watcher
Born at : Dec. 1, 2020, 8:06 a.m. This repo has been linked 1 different CVEs too.

react react-dom react-changelog new

react-changelog react react-dom changelog

Updated: 5 years, 7 months ago
1 stars 0 fork 0 watcher
Born at : Jan. 14, 2019, 2:59 a.m. This repo has been linked 1 different CVEs too.

How to run Scratch 3 localy in Docker (aka one of many solutions for sad Linux mates)

Dockerfile Shell

Updated: 10 months, 4 weeks ago
6 stars 3 fork 3 watcher
Born at : Jan. 7, 2019, 8:23 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-2018-6341 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-6341 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
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CWE Facebook, Inc. CWE-79
  • Initial Analysis by [email protected]

    Feb. 04, 2019

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    Changed Reference Type https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html No Types Assigned https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html Vendor Advisory
    Changed Reference Type https://twitter.com/reactjs/status/1024745321987887104 No Types Assigned https://twitter.com/reactjs/status/1024745321987887104 Vendor Advisory
    Added CWE CWE-79
    Added CPE Configuration OR *cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:* versions from (including) 16.0.0 up to (excluding) 16.0.1 *cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:* versions from (including) 16.1.0 up to (excluding) 16.1.2 *cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:* versions from (including) 16.2.0 up to (excluding) 16.2.1 *cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:* versions from (including) 16.3.0 up to (excluding) 16.3.3 *cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:* versions from (including) 16.4.0 up to (excluding) 16.4.2
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-2018-6341 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-2018-6341 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.08 }} 0.00%

score

0.34214

percentile

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