CVE-2022-21802 json
Cross-site Scripting (XSS)
published 2022-07-25 4 y ago modified 2026-06-17 4 mo ago also GHSA-589f-c66p-hxr4 , EUVD-2022-6241
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- n/a grapesjs 0.19.5
Exploit prediction
0.80% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P |
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | grapesjs | all versions |
no fix listed |
Affected products
- n/a grapesjs
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/artf/grapesjs/commit/13e85d152d486b968265c4b8017e8901e7d89ff3
web, patch, third-party-advisory
-
security.snyk.io
/vuln/SNYK-JS-GRAPESJS-2935960
web, patch, third-party-advisory
-
security.snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-2936781
web, patch, third-party-advisory
-
github.com
/artf/grapesjs/issues/4411%23issuecomment-1167202709
web, issue-tracking, third-party-advisory
-
github.com
/artf/grapesjs/releases/tag/v0.19.5
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-21802
advisory
-
github.com
/artf/grapesjs
package
Sources
- CVE List CVE-2022-21802
- GitHub Advisory GHSA-589f-c66p-hxr4
- NVD CVE-2022-21802
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.