{"id":"EUVD-2023-0631","revision":"0f7005f7936848f2bd24d294fd70e2c0","records":[{"revision":"0f7005f7936848f2bd24d294fd70e2c0","observedAt":"2026-11-10T01:20:46.036+00:00","statement":{"source":"euvd","id":"EUVD-2023-0631","aliases":["CVE-2023-25572","GHSA-5jcr-82fh-339v"],"title":"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 scripti…","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.\n","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"severity":null}],"references":["https://github.com/marmelab/react-admin/security/advisories/GHSA-5jcr-82fh-339v","https://github.com/marmelab/react-admin/pull/8644","https://github.com/marmelab/react-admin/pull/8645","https://github.com/marmelab/react-admin/releases/tag/v3.19.12","https://github.com/marmelab/react-admin/releases/tag/v4.7.6"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-0631","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Feb 13, 2023, 8:49:54 PM","dateUpdated":"Mar 10, 2025, 9:12:31 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2023-0631","identifiers":["EUVD-2023-0631","CVE-2023-25572","GHSA-5jcr-82fh-339v"]},"retained":false,"historicalAffected":[]}],"coverage":[]}