Description
All React applications built with react-admin and using the <RichTextField> are affected.
<RichTextField> outputs the field value using dangerouslySetInnerHTML without client-side sanitization. If the data isn’t sanitized server-side, this opens a possible Cross-Site-Scripting (XSS) attack.
Recommendation
Update the react-admin package to the latest compatible version. Followings are version details:
Affected version(s): **>= 4.0.0, < 4.7.6 < 3.19.12** Patched version(s): **4.7.6 3.19.12**
References
Could your website be exposed too?
SmartScanner can check your website for Cross-Site-Scripting attack on `<RichTextField>` - react-admin and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Cross-Site-Scripting attack on `<RichTextField>` - CVE-2023-25572
- layui vulnerable to cross-site scripting - CVE-2023-3691
- Jodit Editor vulnerable to cross-site scripting - CVE-2023-42399
- webmention.js Cross-site Scripting vulnerability - CVE-2023-3672


