GHSA-4c2w-v5rq-5mx7 eZ Platform Editor Cross-site Scripting (XSS)
Attackers can inject scripts via crafted comments or view unauthorized draft titles in the review queue, requiring updates to CKEditor and workflow modules.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is GHSA-4c2w-v5rq-5mx7?
GHSA-4c2w-v5rq-5mx7 is a cross-site scripting vulnerability in ezsystems/ezplatform-admin-ui-assets, published on 15 May 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
This Security Advisory is about two issues of low to medium severity. We recommend that you install the update as soon as possible.
There is an XSS vulnerability in CKEditor, which is used by AlloyEditor, which is used in eZ Platform Admin UI. Scripts can be injected through specially crafted "protected" comments. We are not sure it is exploitable in eZ Platform, but recommend installing it to be on the safe side. It is fixed in CKEditor v4.14, AlloyEditor v2.11.9. It is distributed via Composer, for:
eZ Platform v1.13.x: ezsystems/PlatformUIAssetsBundle v4.2.3 (included from ezsystems/PlatformUIBundle v1.13.x) eZ Platform v2.5.13: ezsystems/ezplatform-admin-ui-assets v4.2.1 eZ Platform v3.0.*: ezsystems/ezplatform-admin-ui-assets v5.0.1 eZ Platform v3.1.2: ezsystems/ezplatform-admin-ui-assets v5.1.1
Drafts that are sent to trash become visible in the Review Queue, even for users that were not able to see them before this action. It's not possible to preview them, but their title and review history is displayed. This affects Enterprise Edition only, of which ezplatform-workflow is a part. This security update is distributed via Composer, for
eZ Platform EE v2.5.13: ezsystems/ezplatform-workflow v1.1.9 eZ Platform EE v3.1.2: ezsystems/ezplatform-workflow v2.1.1
Which versions are affected by GHSA-4c2w-v5rq-5mx7?
6 open source packages ship an affected version, including ezsystems/ezplatform-admin-ui-assets.
| Package | Affected | Fixed in |
|---|---|---|
ezsystems/ezplatform-admin-ui-assets Packagist | From 4.2.0 | 4.2.1 |
ezsystems/ezplatform-admin-ui-assets Packagist | From 4.2.0 | 4.2.1 |
ezsystems/ezplatform-admin-ui-assets Packagist | From 5.0.0 | 5.0.1 |
ezsystems/ezplatform-admin-ui-assets Packagist | From 5.0.0 | 5.0.1 |
ezsystems/ezplatform-admin-ui-assets Packagist | From 5.1.0 | 5.1.1 |
ezsystems/ezplatform-admin-ui-assets Packagist | From 5.1.0 | 5.1.1 |
How do I fix GHSA-4c2w-v5rq-5mx7?
Upgrade ezsystems/ezplatform-admin-ui-assets to a fixed version for your release line: 4.2.1, 5.0.1 or 5.1.1.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is GHSA-4c2w-v5rq-5mx7 being exploited?
There is no known exploitation of GHSA-4c2w-v5rq-5mx7 in the wild and no public exploit code.