{"id":"CVE-2022-21802","aliases":["GHSA-589f-c66p-hxr4"],"url":"https://o3.security/vulnerability/CVE-2022-21802","summary":"Cross-site Scripting (XSS)","details":"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.","published":"2022-07-25T13:45:39.399Z","modified":"2026-07-15T01:48:56.870665059Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"grapesjs","fixedVersion":null}],"fix":{"url":"https://github.com/artf/grapesjs/commit/13e85d152d486b968265c4b8017e8901e7d89ff3","label":"artf/grapesjs@13e85d1"},"references":[{"type":"WEB","url":"https://github.com/artf/grapesjs/releases/tag/v0.19.5"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2936781"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-GRAPESJS-2935960"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21802.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21802"},{"type":"REPORT","url":"https://github.com/artf/grapesjs/issues/4411%23issuecomment-1167202709"},{"type":"FIX","url":"https://github.com/artf/grapesjs/commit/13e85d152d486b968265c4b8017e8901e7d89ff3"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:56.870665059Z"}}