GHSA-6f85-3f8q-qc94medium6.9No CVE assigned
OroCommerce vulnerable to XSS when adding class name to Selector Manager on pages that use GrapeJS editor
Impact
Due to insufficient class name validation in GrapeJS library it's possible to add executable JS code in class name through Selector Manager
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
oro/commerce Packagist
| Affected range | Recorded fix |
|---|---|
| From 5.0 before 5.0.4Ecosystem versions | 5.0.4 |
Version evidence: OSV · GHSA-6f85-3f8q-qc94
View original version evidence (9 explicit versions)
Original source description
Impact
Due to insufficient class name validation in GrapeJS library it's possible to add executable JS code in class name through Selector Manager
Relates to
Patch
Update GrapeJS dependency to >=v0.19.5