{"id":"GHSA-6f85-3f8q-qc94","aliases":[],"status":"published","title":"OroCommerce vulnerable to XSS when adding class name to Selector Manager on pages that use GrapeJS editor","description":"# 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 \u003e=[v0.19.5](https://github.com/artf/grapesjs/releases/tag/v0.19.5)","severity":{"version":"3.1","score":6.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N","level":"medium","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-07-15T19:25:06Z","modified":"2024-12-08T05:39:08Z","fixes":[{"ecosystem":"Packagist","package":"oro/commerce","fixed_in":["5.0.4"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"oro/commerce","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0"},{"fixed":"5.0.4"}]}]},{"source":"osv","ecosystem":"Packagist","package":"oro/commerce","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0"},{"fixed":"5.0.4"}]}],"versions":["5.0.0","5.0.0-alpha.1","5.0.0-alpha.2","5.0.0-beta.1","5.0.0-beta.2","5.0.0-rc","5.0.1","5.0.2","5.0.3"]}],"references":[{"url":"https://github.com/oroinc/orocommerce/security/advisories/GHSA-6f85-3f8q-qc94","tags":["web"]},{"url":"https://github.com/artf/grapesjs/issues/4411","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6f85-3f8q-qc94"},{"url":"https://github.com/oroinc/orocommerce","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-6f85-3f8q-qc94","title":"OroCommerce vulnerable to XSS when adding class name to Selector Manager on pages that use GrapeJS editor","description":"# 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 \u003e=[v0.19.5](https://github.com/artf/grapesjs/releases/tag/v0.19.5)\n","status":"published","published":"2022-07-15T19:25:06Z","modified":"2023-01-12T05:02:37Z","cvss":[{"version":"3.1","score":6.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:13.23016Z"}],"osv":[{"id":"GHSA-6f85-3f8q-qc94","title":"OroCommerce vulnerable to XSS when adding class name to Selector Manager on pages that use GrapeJS editor","description":"# 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 \u003e=[v0.19.5](https://github.com/artf/grapesjs/releases/tag/v0.19.5)\n","status":"published","published":"2022-07-15T19:25:06Z","modified":"2024-12-08T05:39:08.30235Z","cvss":[{"version":"3.1","score":6.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:39.618611Z"}]}}
