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.
Remediation
References
https://github.com/artf/grapesjs/commit/13e85d152d486b968265c4b8017e8901e7d89ff3
https://github.com/artf/grapesjs/issues/4411%23issuecomment-1167202709
https://github.com/artf/grapesjs/releases/tag/v0.19.5
https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2936781
https://security.snyk.io/vuln/SNYK-JS-GRAPESJS-2935960
Related Vulnerabilities
CVE-2021-31811 Vulnerability in maven package org.apache.pdfbox:pdfbox
CVE-2016-2510 Vulnerability in maven package org.apache-extras.beanshell:bsh
CVE-2021-22696 Vulnerability in maven package org.apache.cxf:cxf-rt-rs-security-oauth2
CVE-2023-29527 Vulnerability in maven package org.xwiki.platform:xwiki-platform-appwithinminutes-ui
CVE-2021-4264 Vulnerability in maven package org.webjars.bower:dustjs-linkedin