### [CVE-2022-21802](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21802) ![](https://img.shields.io/static/v1?label=Product&message=grapesjs&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3C%200.19.5%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=Cross-site%20Scripting%20(XSS)&color=brighgreen) ### Description The package grapesjs before 0.19.5 are vulnerable to Cross-site Scripting (XSS) due to an improper sanitization of the class name in Selector Manager. ### POC #### Reference - https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2936781 - https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2936781 - https://security.snyk.io/vuln/SNYK-JS-GRAPESJS-2935960 - https://security.snyk.io/vuln/SNYK-JS-GRAPESJS-2935960 #### Github No PoCs found on GitHub currently.