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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| react-dom | 16.4.2; >= 16.4.0, < unspecified; 16.3.3; >= 16.3.0, < unspecified; 16.2.1; >= 16.2.0, < unspecified; 16.1.2; >= 16.1.0, < unspecified; 16.0.1; >= 16.0.0, < unspecified |
References
- https://reactjs.org/blog/2018/08/01/react-v-16-4-2.htmlVendor Advisory
- https://twitter.com/reactjs/status/1024745321987887104Vendor Advisory
- https://reactjs.org/blog/2018/08/01/react-v-16-4-2.htmlVendor Advisory
- https://twitter.com/reactjs/status/1024745321987887104Vendor Advisory
Timeline
- Published
- Dec 31, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified