Staging Environment: Content and features may be unstable or change without notice.
Search for vulnerabilities
Vulnerability details: VCID-9kz1-4vqu-vyf3
Vulnerability ID VCID-9kz1-4vqu-vyf3
Aliases CVE-2023-25572
GHSA-5jcr-82fh-339v
Summary 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.
Status Published
Exploitability 0.5
Weighted Severity 6.2
Risk 3.1
Affected and Fixed Packages Package Details
Weaknesses (3)
System Score Found at
epss 0.00799 https://api.first.org/data/v1/epss?cve=CVE-2023-25572
epss 0.00799 https://api.first.org/data/v1/epss?cve=CVE-2023-25572
epss 0.00799 https://api.first.org/data/v1/epss?cve=CVE-2023-25572
cvssv3.1_qr MODERATE https://github.com/advisories/GHSA-5jcr-82fh-339v
cvssv3.1 5.4 https://github.com/marmelab/react-admin
generic_textual MODERATE https://github.com/marmelab/react-admin
cvssv3.1 5.4 https://github.com/marmelab/react-admin/pull/8644
generic_textual MODERATE https://github.com/marmelab/react-admin/pull/8644
ssvc Track https://github.com/marmelab/react-admin/pull/8644
cvssv3.1 5.4 https://github.com/marmelab/react-admin/pull/8645
generic_textual MODERATE https://github.com/marmelab/react-admin/pull/8645
ssvc Track https://github.com/marmelab/react-admin/pull/8645
cvssv3.1 5.4 https://github.com/marmelab/react-admin/releases/tag/v3.19.12
generic_textual MODERATE https://github.com/marmelab/react-admin/releases/tag/v3.19.12
ssvc Track https://github.com/marmelab/react-admin/releases/tag/v3.19.12
cvssv3.1 5.4 https://github.com/marmelab/react-admin/releases/tag/v4.7.6
generic_textual MODERATE https://github.com/marmelab/react-admin/releases/tag/v4.7.6
ssvc Track https://github.com/marmelab/react-admin/releases/tag/v4.7.6
cvssv3.1 5.4 https://github.com/marmelab/react-admin/security/advisories/GHSA-5jcr-82fh-339v
cvssv3.1_qr MODERATE https://github.com/marmelab/react-admin/security/advisories/GHSA-5jcr-82fh-339v
generic_textual MODERATE https://github.com/marmelab/react-admin/security/advisories/GHSA-5jcr-82fh-339v
ssvc Track https://github.com/marmelab/react-admin/security/advisories/GHSA-5jcr-82fh-339v
cvssv3.1 5.4 https://nvd.nist.gov/vuln/detail/CVE-2023-25572
generic_textual MODERATE https://nvd.nist.gov/vuln/detail/CVE-2023-25572
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Found at https://github.com/marmelab/react-admin
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Found at https://github.com/marmelab/react-admin/pull/8644
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T21:00:46Z/ Found at https://github.com/marmelab/react-admin/pull/8644
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Found at https://github.com/marmelab/react-admin/pull/8645
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T21:00:46Z/ Found at https://github.com/marmelab/react-admin/pull/8645
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Found at https://github.com/marmelab/react-admin/releases/tag/v3.19.12
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T21:00:46Z/ Found at https://github.com/marmelab/react-admin/releases/tag/v3.19.12
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Found at https://github.com/marmelab/react-admin/releases/tag/v4.7.6
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T21:00:46Z/ Found at https://github.com/marmelab/react-admin/releases/tag/v4.7.6
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Found at https://github.com/marmelab/react-admin/security/advisories/GHSA-5jcr-82fh-339v
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T21:00:46Z/ Found at https://github.com/marmelab/react-admin/security/advisories/GHSA-5jcr-82fh-339v
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2023-25572
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.74464
EPSS Score 0.00799
Published At June 11, 2026, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2026-06-11T17:19:58.546114+00:00 Vulnrichment Import https://github.com/cisagov/vulnrichment/blob/develop/2023/25xxx/CVE-2023-25572.json 38.6.0