{"id":"GHSA-6f85-3f8q-qc94","aliases":["GHSA-6f85-3f8q-qc94"],"related":[],"kind":"vulnerability","state":"published","title":"OroCommerce vulnerable to XSS when adding class name to Selector Manager on pages that use GrapeJS editor","summary":"# Impact\nDue to insufficient class name validation in GrapeJS library it's possible to add executable JS code in class name through Selector Manager\n\n# Relates to\n - [https://github.com/artf/grapesjs/issues/4411](https://github.com/artf/grapesjs/issues/4411)\n\n# Patch\nUpdate GrapeJS dependency to >=[v0.19.5](https://github.com/artf/grapesjs/releases/tag/v0.19.5)","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"# Impact\nDue to insufficient class name validation in GrapeJS library it's possible to add executable JS code in class name through Selector Manager\n\n# Relates to\n - [https://github.com/artf/grapesjs/issues/4411](https://github.com/artf/grapesjs/issues/4411)\n\n# Patch\nUpdate GrapeJS dependency to >=[v0.19.5](https://github.com/artf/grapesjs/releases/tag/v0.19.5)","format":"markdown","source":"ghsa"}],"published":"2022-07-15T19:25:06.000Z","modified":"2024-12-08T05:39:08.302Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N","score":6.9,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"5.0","status":"affected","fixed":"5.0.4"}],"ecosystem":"Packagist","package":"oro/commerce","purl":"pkg:composer/oro/commerce","source":"ghsa"}],"references":[{"url":"https://github.com/oroinc/orocommerce/security/advisories/GHSA-6f85-3f8q-qc94","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/artf/grapesjs/issues/4411","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/oroinc/orocommerce","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6f85-3f8q-qc94","url":"https://github.com/advisories/GHSA-6f85-3f8q-qc94","licence":"CC-BY-4.0","modified":"2024-12-08T05:39:08.302Z"}],"updatedAt":"2026-11-25T22:56:31.312Z"}