Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-25572

5.4 · MEDIUM
Published Feb 13, 2023 marmelab CWE-79 EPSS 0.69% (50th pctl)

Overview

CVE-2023-25572 is a medium-severity vulnerability affecting marmelab ra-ui-materialui. It was published on February 13, 2023 and has a CVSS 3.1 base score of 5.4 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from marmelab. Update ra-ui-materialui to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
marmelab ra-ui-materialui >= 0, < 3.9.12 Affected
marmelab react-admin >= 0, < 3.9.12 Affected

Frequently Asked Questions

What is CVE-2023-25572?

CVE-2023-25572 is a medium-severity vulnerability affecting marmelab ra-ui-materialui. It was published on February 13, 2023 and has a CVSS 3.1 base score of 5.4 (MEDIUM).

How severe is CVE-2023-25572?

This vulnerability has a CVSS 3.1 base score of 5.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-25572?

Check the references section for vendor advisories and patches from marmelab. Update ra-ui-materialui to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-25572?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-25572 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.