CVE-2022-21802
Grapesjs vulnerability
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.
Affected products
Grapesjs. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Grapesjs runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/artf/grapesjs/commit/13e85d152d486b968265c4b8017e8901e7d89ff3 · Patch
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2936781 · Patch
- security.snyk.io/vuln/SNYK-JS-GRAPESJS-2935960 · Patch
- github.com/artf/grapesjs/issues/4411%23issuecomment-1167202709 · Third Party Advisory
- github.com/artf/grapesjs/releases/tag/v0.19.5 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-21802
- cve.org/CVERecord?id=CVE-2022-21802
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.