Skip to content
OpenAdvisories
Medium · 6.9 GHSA-6f85-3f8q-qc94

OroCommerce vulnerable to XSS when adding class name to Selector Manager on pages that use GrapeJS editor

Published Jul 15, 2022 · Updated Dec 8, 2024 · Assigned by GHSA

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
- [https://github.com/artf/grapesjs/issues/4411](https://github.com/artf/grapesjs/issues/4411)

# Patch
Update GrapeJS dependency to >=[v0.19.5](https://github.com/artf/grapesjs/releases/tag/v0.19.5)

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist oro/commerce >= 5.0, < 5.0.4 5.0.4 GHSA-6f85-3f8q-qc94

References