Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS02Zjg1LTNmOHEtcWM5NM4AAtZ6

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

Relates to

Patch

Update GrapeJS dependency to >=v0.19.5

Permalink: https://github.com/advisories/GHSA-6f85-3f8q-qc94
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS02Zjg1LTNmOHEtcWM5NM4AAtZ6
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: almost 2 years ago
Updated: over 1 year ago


CVSS Score: 6.9
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N

Identifiers: GHSA-6f85-3f8q-qc94
References: Repository: https://github.com/oroinc/orocommerce
Blast Radius: 12.5

Affected Packages

packagist:oro/commerce
Dependent packages: 54
Dependent repositories: 64
Downloads: 25,035 total
Affected Version Ranges: >= 5.0, < 5.0.4
Fixed in: 5.0.4
All affected versions: 5.0.0, 5.0.1, 5.0.2, 5.0.3
All unaffected versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.0.10, 1.0.11, 1.0.12, 1.0.13, 1.0.14, 1.0.15, 1.0.16, 1.0.17, 1.0.18, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.3.8, 1.3.9, 1.3.10, 1.3.11, 1.3.12, 1.3.13, 1.4.0, 1.4.1, 1.4.2, 1.5.0, 1.6.0, 1.6.1, 1.6.11, 1.6.12, 1.6.13, 1.6.14, 1.6.15, 1.6.16, 1.6.17, 1.6.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