Vulnerability Details : CVE-2022-21802
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.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2022-21802
- cpe:2.3:a:grapesjs:grapesjs:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-21802
0.11%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 42 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-21802
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST | |
5.4
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
2.8
|
2.5
|
Snyk |
CWE ids for CVE-2022-21802
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-21802
-
https://security.snyk.io/vuln/SNYK-JS-GRAPESJS-2935960
Cross-site Scripting (XSS) in grapesjs | CVE-2022-21802 | SnykPatch;Third Party Advisory
-
https://github.com/artf/grapesjs/releases/tag/v0.19.5
Release v0.19.5 · artf/grapesjs · GitHubRelease Notes;Third Party Advisory
-
https://github.com/artf/grapesjs/issues/4411%23issuecomment-1167202709
Issues · artf/grapesjs · GitHubIssue Tracking;Third Party Advisory
-
https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2936781
Cross-site Scripting (XSS) in org.webjars.npm:grapesjs | CVE-2022-21802 | SnykPatch;Third Party Advisory
-
https://github.com/artf/grapesjs/commit/13e85d152d486b968265c4b8017e8901e7d89ff3
Protect Selector Manager views from XSS. Closes #4411 · artf/grapesjs@13e85d1 · GitHubPatch;Third Party Advisory
Jump to