PT-2022-16015

CVE-2022-23474

·

Published

2022-12-15

·

Updated

2024-08-05

Description by

CVSS 3.1
6.1
Medium
MetricsAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Editor.js versions prior to 2.26.0
Description The issue concerns a code injection vulnerability via pasted input in Editor.js, a block-style editor. The processHTML method is vulnerable as it passes pasted input into the wrapper's innerHTML. This allows for potential code injection attacks.
Recommendations For versions prior to 2.26.0, update to version 2.26.0 to resolve the issue. As a temporary workaround, consider disabling the processHTML method until the patch is applied. Restrict access to pasted input to minimize the risk of exploitation.
Found an issue in the description? Have something to add? Feel free to write us 👾