SCA: security update for ra-ui-materialui, react-admin (GHSA-5jcr-82fh-339v)

medium Tenable Cloud Security Plugin ID 410887

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2023-25572)

See Also

https://github.com/advisories/GHSA-5jcr-82fh-339v

Plugin Details

Severity: Medium

ID: 410887

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.14

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.3

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:N

CVSS Score Source: CVE-2023-25572

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/14/2023

Vulnerability Publication Date: 2/13/2023

Reference Information

CVE: CVE-2023-25572

cwe: CWE-79