{"id":"CVE-2023-41167","published":"2023-08-25T00:00:00Z","modified":"2024-10-02T17:52:37Z","title":"@webiny/react-rich-text-renderer before 5.37.2 allows XSS attacks by content managers","vendor":null,"product":null,"tier":"tail","description":{"text":"@webiny/react-rich-text-renderer before 5.37.2 allows XSS attacks by content managers. This is a react component to render data coming from Webiny Headless CMS and Webiny Form Builder. Webiny is an open-source serverless enterprise CMS. The @webiny/react-rich-text-renderer package depends on the editor.js rich text editor to handle rich text content. The CMS stores rich text content from the editor.js into the database. When the @webiny/react-rich-text-renderer is used to render such content, it uses the dangerouslySetInnerHTML prop, without applying HTML sanitization. The issue arises when an actor, who in this context would specifically be a content manager with access to the CMS, inserts a malicious script as part of the user-defined input. This script is then injected and executed within the user's browser when the main page or admin page loads.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00483,"percentile":0.34265,"provenance":"source"},"cwes":[],"references":[{"url":"https://webiny.com","tags":[]},{"url":"https://github.com/webiny/webiny-js/security/advisories/GHSA-3x59-vrmc-5mx6","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":6.85}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-02T17:52:27.906215Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@webiny/react-rich-text-renderer","vulnerableRanges":["<5.37.2"],"patched":["5.37.2"],"from":["GHSA-3x59-vrmc-5mx6"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting issue in the @webiny/react-rich-text-renderer React component, which renders rich text content from Webiny Headless CMS and Webiny Form Builder and is affected before version 5.37.2. The component passes stored rich text content to dangerouslySetInnerHTML without HTML sanitization, so an attacker with content manager access to the CMS who inserts a malicious script into rich text input can have it executed in a user's browser when the affected page loads.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:16Z"},"euvd":{"id":"EUVD-2023-2200","exploited":false,"provenance":"source"}}