Security mailing lists by PureSourceCode

CVE-2018-6341

MEDIUM 6.1CVSS 3.1

Cross-Site Scripting in react-dom

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.

Published
31 Dec 2018
Last modified
17 Jun 2026
Assigned by
cve-assign@fb.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-mvjj-gqq2-p4hw
Sources
NVDJSONOSV GHSA-mvjj-gqq2-p4hwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.0 MEDIUM 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD facebook react
cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:*
>= 16.0.0, < 16.0.1 16.0.1
NVD facebook react
cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:*
>= 16.1.0, < 16.1.2 16.1.2
NVD facebook react
cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:*
>= 16.2.0, < 16.2.1 16.2.1
NVD facebook react
cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:*
>= 16.3.0, < 16.3.3 16.3.3
NVD facebook react
cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:*
>= 16.4.0, < 16.4.2 16.4.2
OSV npm react-dom >= 16.0.0, < 16.0.1 16.0.1
OSV npm react-dom >= 16.1.0, < 16.1.2 16.1.2
OSV npm react-dom >= 16.2.0, < 16.2.1 16.2.1
OSV npm react-dom >= 16.3.0, < 16.3.3 16.3.3
OSV npm react-dom >= 16.4.0, < 16.4.2 16.4.2

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 31 Dec 2018)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Jan 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.