Grapesjs · Grapesjs · CVE-2022-21802
**Name of the Vulnerable Software and Affected Versions**
grapesjs versions prior to 0.19.5
**Description**
The issue is related to an improper sanitization of the class name in Selector Manager, which leads to Cross-site Scripting (XSS). There is no information provided about the estimated number of potentially affected devices worldwide or real-world incidents where this issue was exploited.
**Recommendations**
For versions prior to 0.19.5, update to version 0.19.5 or later to resolve the issue. As a temporary workaround, consider restricting the use of the Selector Manager to minimize the risk of exploitation.