{"id":"CVE-2023-41167","aliases":["EUVD-2023-2200","GHSA-3x59-vrmc-5mx6"],"status":"published","title":"@webiny/react-rich-text-renderer vulnerable to insecure rendering of rich text content","description":"@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.","severity":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00392,"percentile":0.33679,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2023-08-24T22:16:20Z","modified":"2026-10-28T02:30:36Z","fixes":[{"ecosystem":"npm","package":"@webiny/react-rich-text-renderer","fixed_in":["5.37.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@webiny/react-rich-text-renderer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"5.37.1"},{"fixed":"5.37.2"}]}]},{"source":"osv","ecosystem":"npm","package":"@webiny/react-rich-text-renderer","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.37.2"}]}]}],"products":[{"vendor":"webiny","product":"webiny"}],"references":[{"url":"https://webiny.com","tags":["x_transferred","Product","web"]},{"url":"https://github.com/webiny/webiny-js/security/advisories/GHSA-3x59-vrmc-5mx6","tags":["x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/webiny/webiny-js/commit/8748bc53fe862bb03d4459ccc0be39084a5d35c0","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-41167","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-3x59-vrmc-5mx6"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/41xxx/CVE-2023-41167.json","tags":["advisory"]},{"url":"https://github.com/webiny/webiny-js","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-41167","description":"@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.","status":"published","published":"2023-08-25T00:00:00Z","modified":"2024-10-02T17:52:37.205Z","updated_at":"2026-11-02T14:35:18.88314Z"}],"euvd":[{"id":"EUVD-2023-2200","description":"@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.","status":"published","published":"2023-08-25T00:00:00Z","modified":"2024-10-02T17:52:37Z","updated_at":"2026-11-03T00:27:57.212945Z"}],"ghsa":[{"id":"GHSA-3x59-vrmc-5mx6","title":"@webiny/react-rich-text-renderer vulnerable to insecure rendering of rich text content","description":"## Overview\n`@webiny/react-rich-text-renderer` is a react component to render data coming from Webiny Headless CMS and Webiny Form Builder. The `@webiny/react-rich-text-renderer` package depends on the [editor.js](https://editorjs.io/) 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.\n\n## Am I affected?\nYou will be affected if you're running a Webiny project created prior to `5.35.0` and you're using the legacy rich text editor (which uses `editor.js` library under the hood). If you've already switched to using the new rich text editor, powered by Lexical editor, you will not be affected by this.\n\n## How do I patch this vulnerability?\nUpdate to Webiny version `5.37.2`.\n","status":"published","published":"2023-08-24T22:16:20Z","modified":"2023-11-08T05:00:54Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:16.721714Z"}],"nvd":[{"id":"CVE-2023-41167","description":"@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.","status":"published","published":"2023-08-25T14:15:10.15Z","modified":"2026-06-17T06:20:51.627Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:08:25.025396Z"}],"osv":[{"id":"GHSA-3x59-vrmc-5mx6","title":"@webiny/react-rich-text-renderer vulnerable to insecure rendering of rich text content","description":"## Overview\n`@webiny/react-rich-text-renderer` is a react component to render data coming from Webiny Headless CMS and Webiny Form Builder. The `@webiny/react-rich-text-renderer` package depends on the [editor.js](https://editorjs.io/) 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.\n\n## Am I affected?\nYou will be affected if you're running a Webiny project created prior to `5.35.0` and you're using the legacy rich text editor (which uses `editor.js` library under the hood). If you've already switched to using the new rich text editor, powered by Lexical editor, you will not be affected by this.\n\n## How do I patch this vulnerability?\nUpdate to Webiny version `5.37.2`.\n","status":"published","published":"2023-08-24T22:16:20Z","modified":"2026-07-08T06:28:43.333754822Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:36.092962Z"},{"id":"CVE-2023-41167","description":"@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.","status":"published","published":"2023-08-25T00:00:00Z","modified":"2026-10-28T02:30:36.566273192Z","updated_at":"2026-11-02T15:44:33.244128Z"}]}}
