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
- @excalidraw/excalidraw Cross-site Scripting vulnerability - CVE-2023-26140
- Vega has Cross-site Scripting vulnerability in `lassoAppend` function - CVE-2023-26487
- Vega has Cross-site Scripting vulnerability in `lassoAppend` function - vega - CVE-2023-26487


