CVE-2018-6341

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductFacebook React
PublishedDec 31, 2018
First seenDec 31, 2018

How to fix

Update
  • facebook react16.0.1, 16.1.2, 16.2.1, 16.3.3, 16.4.2 or later
  • react-dom16.0.1, 16.1.2, 16.2.1, 16.3.3, 16.4.2 or later

Affected products

ProductAffected versionsFixed in
facebook react16.0.0 ≤ v < 16.0.1, 16.1.0 ≤ v < 16.1.2, 16.2.0 ≤ v < 16.2.1, 16.3.0 ≤ v < 16.3.3, 16.4.0 ≤ v < 16.4.216.0.1, 16.1.2, 16.2.1, 16.3.3, 16.4.2
react-domnpm16.0.0 ≤ v < 16.0.1, 16.1.0 ≤ v < 16.1.2, 16.2.0 ≤ v < 16.2.1, 16.3.0 ≤ v < 16.3.3, 16.4.0 ≤ v < 16.4.216.0.1, 16.1.2, 16.2.1, 16.3.3, 16.4.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.