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.
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?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| marmelab | react-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?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | react-admin | < 3.19.12 | 3.19.12 | GHSA-5jcr-82fh-339v |
| npm | react-admin | >= 4.0.0, < 4.7.6 | 4.7.6 | GHSA-5jcr-82fh-339v |
| npm | ra-ui-materialui | >= 4.0.0, < 4.7.6 | 4.7.6 | GHSA-5jcr-82fh-339v |
| npm | ra-ui-materialui | < 3.19.12 | 3.19.12 | GHSA-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?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| marmelab | ra-ui-materialui | before 3.9.12 | application |
| marmelab | ra-ui-materialui | from 4.0.0 before 4.7.6 | application |
| marmelab | react-admin | before 3.9.12 | application |
| marmelab | react-admin | from 4.0.0 before 4.7.6 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:41 UTC.
How severe is CVE-2023-25572?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | GitHub_M |
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD |
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?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/marmelab/react-admin/security/advisories/GHSA-5jcr-82fh-339v x_refsource_CONFIRM
- https://github.com/marmelab/react-admin/pull/8644 x_refsource_MISC
- https://github.com/marmelab/react-admin/pull/8645 x_refsource_MISC
- https://github.com/marmelab/react-admin/releases/tag/v3.19.12 x_refsource_MISC
- https://github.com/marmelab/react-admin/releases/tag/v4.7.6 x_refsource_MISC
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?
- Oct 20, 2026CVE-2026-113350 marmelab react-admin: cross-site scripting (XSS)
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.