{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-21802","published":"2022-07-25T14:15:10.817000Z","last_modified":"2026-06-17T04:27:00.803000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:grapesjs:grapesjs:*:*:*:*:*:node.js:*:*","part":"a","vendor":"grapesjs","product":"grapesjs","version_end_excluding":"0.19.5"}],"cpes_truncated":false,"vendors":["grapesjs"],"products":["grapesjs/grapesjs"],"epss":{"score":0.00871,"percentile":0.56559,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-589f-c66p-hxr4","ecosystem":"npm","name":"grapesjs","purl":"pkg:npm/grapesjs","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2022-21802/","html_en":"/en/cve/CVE-2022-21802/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21802","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21802"},"untrusted":{"vendor_name":"Grapesjs","product_name":"Grapesjs","desc_en":"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":[],"references":[{"url":"https://github.com/artf/grapesjs/commit/13e85d152d486b968265c4b8017e8901e7d89ff3","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/artf/grapesjs/issues/4411%23issuecomment-1167202709","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/artf/grapesjs/releases/tag/v0.19.5","tags":["Release Notes","Third Party Advisory"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2936781","tags":["Patch","Third Party Advisory"]},{"url":"https://security.snyk.io/vuln/SNYK-JS-GRAPESJS-2935960","tags":["Patch","Third Party Advisory"]}]}}