CVE-2023-41167

Source
https://cve.org/CVERecord?id=CVE-2023-41167
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-41167.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-41167
Aliases
Related
Published
2023-08-25T14:15:10.150Z
Modified
2026-04-10T05:12:53.275596Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

@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.

References

Affected packages

Git / github.com/webiny/webiny-js

Affected ranges

Type
GIT
Repo
https://github.com/webiny/webiny-js
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "5.37.2"
        }
    ]
}

Affected versions

v1.*
v1.0.0
v1.1.0
v1.10.3
v1.10.5
v1.11.0
v1.12.1
v1.12.2
v1.12.3
v1.12.4
v1.12.7
v1.13.0
v1.13.1
v1.3.0
v1.4.0
v1.5.0
v1.5.1
v1.6.0
v1.7.0
v1.8.0
v4.*
v4.0.0
v4.0.2
v4.1.0
v4.4.0
v4.8.0
v4.9.0
v5.*
v5.0.0
v5.1.0
v5.11.0
v5.14.0
v5.21.0
v5.24.0
v5.29.0
v5.3.0
v5.30.0
v5.31.0
v5.32.0
v5.33.0
v5.33.3
v5.33.4
v5.35.0
v5.36.0
v5.37.0
v5.37.1
v5.5.0
v5.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-41167.json"