Back
CVE-2022-21802
Cross-site Scripting (XSS)
Medium5.4EPSS 0.80%
- Published
- Updated
- Reserved
- Assigned by
- snyk
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P |
| NVDNVD · Modified | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.80% · top 43% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.4.
Weakness
- Cross-site Scripting (XSS)
- CWE-79 (opens in a new tab)All about CWE-79 and its CVEs
Affected products
grapesjs
- affected unspecified – < 0.19.5
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmgrapesjsGHSA-589f-c66p-hxr4 (opens in a new tab)
References (5)
- https://security.snyk.io/vuln/SNYK-JS-GRAPESJS-2935960 (opens in a new tab)x_refsource_MISCx_transferred
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2936781 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/artf/grapesjs/issues/4411%23issuecomment-1167202709 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/artf/grapesjs/commit/13e85d152d486b968265c4b8017e8901e7d89ff3 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/artf/grapesjs/releases/tag/v0.19.5 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-589f-c66p-hxr4 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-21802)Record last updated .