CVE-2023-41167 json
@webiny/react-rich-text-renderer vulnerable to insecure rendering of rich text content
published 2023-08-24 3 y ago modified 2026-07-08 4 mo ago also GHSA-3x59-vrmc-5mx6 , EUVD-2023-2200
- cvss
- 4.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
@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.
Patch / fix
- npm @webiny/react-rich-text-renderer 5.37.2
- webiny webiny 5.37.2
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @webiny/react-rich-text-renderer | <5.37.2 |
5.37.2 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/webiny/webiny-js/commit/8748bc53fe862bb03d4459ccc0be39084a5d35c0
web
-
github.com
/webiny/webiny-js/security/advisories/GHSA-3x59-vrmc-5mx6
web, vendor-advisory
-
webiny.com
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2023-41167
advisory
-
github.com
/webiny/webiny-js
package
Sources
- CVE List CVE-2023-41167
- GitHub Advisory GHSA-3x59-vrmc-5mx6
- NVD CVE-2023-41167
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.