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 ra-ui-materialui package to the latest compatible version. Followings are version details:
Affected version(s): **< 3.19.12 >= 4.0.0, < 4.7.6** Patched version(s): **3.19.12 4.7.6**
References
Could your website be exposed too?
SmartScanner can check your website for Cross-Site-Scripting attack on `<RichTextField>` and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Cross-Site-Scripting attack on `<RichTextField>` - react-admin - CVE-2023-25572
- Jellyfin Web Cross-Site Scripting (XSS) via Playlist Name - CVE-2023-23636
- Jellyfin Web Cross-Site Scripting (XSS) via Collection Name - CVE-2023-23635
- Cross-site Scripting in evershop - @evershop/evershop - GHSA-2xcj-557c-hf8r - CVE-2023-46495


