CVE-2023-41167

Source
https://nvd.nist.gov/vuln/detail/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:10Z
Modified
2025-07-29T10:59:29.399729Z
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

Affected versions

v1.*

v1.0.0
v1.1.0
v1.10.0
v1.10.1
v1.10.2
v1.10.3
v1.10.4
v1.10.5
v1.11.0
v1.12.0
v1.12.1
v1.12.2
v1.12.3
v1.12.4
v1.12.5
v1.12.6
v1.12.7
v1.13.0
v1.13.1
v1.14.0
v1.14.1
v1.14.2
v1.15.0
v1.15.1
v1.2.0
v1.3.0
v1.4.0
v1.5.0
v1.5.1
v1.6.0
v1.7.0
v1.8.0
v1.8.1
v1.9.0

v4.*

v4.0.0
v4.0.2
v4.1.0
v4.10.0
v4.11.0
v4.12.0
v4.12.1
v4.13.0
v4.14.0
v4.2.0
v4.3.0
v4.4.0
v4.5.0
v4.5.1
v4.6.0
v4.7.0
v4.8.0
v4.9.0

v5.*

v5.0.0
v5.1.0
v5.10.0
v5.11.0
v5.11.1
v5.12.0
v5.13.0
v5.14.0
v5.15.0
v5.16.0
v5.17.0
v5.17.1
v5.17.2
v5.17.3
v5.17.4
v5.18.0
v5.18.1
v5.18.2
v5.18.3
v5.19.0
v5.19.1
v5.2.0
v5.2.1
v5.20.0
v5.21.0
v5.22.0
v5.22.1
v5.23.0
v5.23.1
v5.24.0
v5.25.0
v5.26.0
v5.27.0
v5.28.0
v5.29.0
v5.3.0
v5.30.0
v5.31.0
v5.32.0
v5.33.0
v5.33.1
v5.33.2
v5.33.3
v5.33.4
v5.33.4-beta.0
v5.33.5
v5.33.5-beta.0
v5.34.0
v5.34.1
v5.34.2
v5.34.3
v5.34.4
v5.34.5
v5.34.6
v5.34.7
v5.34.8
v5.35.0
v5.35.1
v5.35.2
v5.36.0
v5.36.1
v5.37.0
v5.37.1
v5.4.0
v5.5.0
v5.6.0
v5.7.0
v5.8.0
v5.9.0