Skip to main content
← All vulnerabilities
CVE-2018-6341GHSA-MVJJ-GQQ2-P4HW

React applications which rendered to HTML using the ReactDOMServer API were not escaping user-supplied attribute names at render-time.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 16.0.1, 16.1.2, 16.2.1, 16.3.3, 16.4.2
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Facebook react-dom

    From 16.4.0; From 16.3.0; From 16.2.0; From 16.1.0; From 16.0.0

  • react-domnpm

    From 16.0.0 · fixed in 16.0.1

  • react-domnpm

    From 16.1.0 · fixed in 16.1.2

  • react-domnpm

    From 16.2.0 · fixed in 16.2.1

  • react-domnpm

    From 16.3.0 · fixed in 16.3.3

  • react-domnpm

    From 16.4.0 · fixed in 16.4.2

References 3

reactjs.org

twitter.com

GitHub · diwangs/react16-ssr