Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/ra-ui-materialui@2.0.2
purl pkg:npm/ra-ui-materialui@2.0.2
Next non-vulnerable version 3.10.0
Latest non-vulnerable version 4.7.6
Risk 3.1
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-9kz1-4vqu-vyf3
Aliases:
CVE-2023-25572
GHSA-5jcr-82fh-339v
react-admin is a frontend framework for building browser applications on top of REST/GraphQL APIs. react-admin prior to versions 3.19.12 and 4.7.6, along with ra-ui-materialui prior to 3.19.12 and 4.7.6, are vulnerable to cross-site scripting. 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. Versions 3.19.12 and 4.7.6 now use `DOMPurify` to escape the HTML before outputting it with React and `dangerouslySetInnerHTML`. Users who already sanitize HTML data server-side do not need to upgrade. As a workaround, users may replace the `<RichTextField>` by a custom field doing sanitization by hand.
3.10.0
Affected by 0 other vulnerabilities.
3.19.12
Affected by 0 other vulnerabilities.
4.7.6
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-12T18:46:19.885102+00:00 GitLab Importer Affected by VCID-9kz1-4vqu-vyf3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/ra-ui-materialui/CVE-2023-25572.yml 38.6.0