CVEBrief

Home / marmelab / react-admin / CVE-2023-25572

CVE-2023-25572: is it exploited, and which versions of marmelab react-admin are affected and fixed?

CVE-2023-25572 is a cross-site scripting (XSS) vulnerability in marmelab react-admin. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: react-admin before 3.19.12, react-admin from 4.0.0 before 4.7.6, ra-ui-materialui from 4.0.0 before 4.7.6 and 1 more (GitHub advisory GHSA-5jcr-82fh-339v). Fixed in 3.19.12 and 4.7.6 (GitHub advisory GHSA-5jcr-82fh-339v). Severity: Medium (5.4, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:41 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 19:09 UTC
Affected
react-admin before 3.19.12, react-admin from 4.0.0 before 4.7.6, ra-ui-materialui from 4.0.0 before 4.7.6 and 1 more
GitHub advisory GHSA-5jcr-82fh-339v
Fixed in
3.19.12 and 4.7.6
GitHub advisory GHSA-5jcr-82fh-339v
Severity
Medium 5.4
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.70% in 30 days
higher than 55% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2023-25572?

React-Admin vulnerable to Cross-Site-Scripting attack on `<RichTextField>`

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.

From the CVE record by GitHub_M, last updated March 10, 2025, 21:12 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
marmelabreact-admin< 3.19.12
>= 4.0.0, < 4.7.6

As the CVE record by GitHub_M states it, last updated March 10, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
npmreact-admin< 3.19.123.19.12GHSA-5jcr-82fh-339v
npmreact-admin>= 4.0.0, < 4.7.64.7.6GHSA-5jcr-82fh-339v
npmra-ui-materialui>= 4.0.0, < 4.7.64.7.6GHSA-5jcr-82fh-339v
npmra-ui-materialui< 3.19.123.19.12GHSA-5jcr-82fh-339v

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 14, 2023. Summary: Cross-Site-Scripting attack on `<RichTextField>`.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
marmelabra-ui-materialuibefore 3.9.12application
marmelabra-ui-materialuifrom 4.0.0 before 4.7.6application
marmelabreact-adminbefore 3.9.12application
marmelabreact-adminfrom 4.0.0 before 4.7.6application

NVD analysis (status Modified), last modified June 17, 2026, 05:41 UTC.

How severe is CVE-2023-25572?

ScoreVersionVectorSource
Medium 5.4CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NGitHub_M
Medium 5.4CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2023-25572 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, March 10, 2025)
EPSS
0.70% probability of exploitation activity in the next 30 days, percentile 54.6 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
February 7, 2023
Published
February 13, 2023, 20:49 UTC
CVE record updated
March 10, 2025, 21:12 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 05:41 UTC
Last checked
CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:41 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect react-admin?

Every CVE in react-admin

Questions about CVE-2023-25572

Is CVE-2023-25572 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.70% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of marmelab react-admin are affected by CVE-2023-25572?

react-admin before 3.19.12, react-admin from 4.0.0 before 4.7.6, ra-ui-materialui from 4.0.0 before 4.7.6 and ra-ui-materialui before 3.19.12, per the GitHub advisory GHSA-5jcr-82fh-339v. The tables above give every range the sources list.

Which version fixes CVE-2023-25572?

3.19.12 and 4.7.6, per the GitHub advisory GHSA-5jcr-82fh-339v. Check the vendor's advisory before you rely on it.

How severe is CVE-2023-25572?

Medium (5.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2023-25572?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.