Vulnerability · Published Jul 25, 2022 · Assigned by snyk
CVE-2022-21802Cross-site Scripting (XSS)
Medium 5.4
In plain English
A medium-severity security flaw in grapesjs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities).
Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.8%top 43.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | grapesjs | no fix listed | GHSA-589f-c66p-hxr4 |
Affected products (as reported)
References
- https://security.snyk.io/vuln/SNYK-JS-GRAPESJS-2935960 x_refsource_MISC
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2936781 x_refsource_MISC
- https://github.com/artf/grapesjs/issues/4411%23issuecomment-1167202709 x_refsource_MISC
- https://github.com/artf/grapesjs/commit/13e85d152d486b968265c4b8017e8901e7d89ff3 x_refsource_MISC
- https://github.com/artf/grapesjs/releases/tag/v0.19.5 x_refsource_MISC