GHSA-4c2w-v5rq-5mx7: Ezsystems/ezplatform admin ui assets Cross-Site Scripting Vulnerability
MODERATEGHSA-4c2w-v5rq-5mx7 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Ezsystems/ezplatform admin ui assets libraries in the Packagist ecosystem. The issue involves ez platform editor cross-site scripting (xss). Remediation is available by upgrading affected packages to version 4.2.1, 5.0.1, 5.1.1.
GHSA-4c2w-v5rq-5mx7 at a Glance
How to Fix GHSA-4c2w-v5rq-5mx7
To remediate this vulnerability, upgrade all affected Ezsystems/ezplatform admin ui assets dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade ezsystems/ezplatform-admin-ui-assets to 4.2.1
Upgrade ezsystems/ezplatform-admin-ui-assets to 5.0.1
Upgrade ezsystems/ezplatform-admin-ui-assets to 5.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for ezsystems/ezplatform-admin-ui-assets
How to Check if You Are Affected
To determine whether your application is affected by GHSA-4c2w-v5rq-5mx7, inspect your project dependencies for Ezsystems/ezplatform admin ui assets:
inspect dependencies for ezsystems/ezplatform-admin-ui-assets
Analyze the terminal output to locate any version of Ezsystems/ezplatform admin ui assets in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Ezsystems/ezplatform admin ui assets, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-4c2w-v5rq-5mx7 Affected Ezsystems/ezplatform admin ui assets Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ezsystems/ezplatform-admin-ui-assets
|
Packagist |
≥ 4.2.0
< 4.2.1
|
4.2.1
|
|
ezsystems/ezplatform-admin-ui-assets
|
Packagist |
≥ 5.0.0
< 5.0.1
|
5.0.1
|
|
ezsystems/ezplatform-admin-ui-assets
|
Packagist |
≥ 5.1.0
< 5.1.1
|
5.1.1
|
References
Frequently Asked Questions
What is GHSA-4c2w-v5rq-5mx7?
Which Ezsystems/ezplatform admin ui assets versions are affected?
What version fixes GHSA-4c2w-v5rq-5mx7?
Is ezsystems/ezplatform-admin-ui-assets affected?
What CWE is associated with GHSA-4c2w-v5rq-5mx7?
How can I check Packagist dependencies for GHSA-4c2w-v5rq-5mx7?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4c2w-v5rq-5mx7",
"modified" : "2024-05-15T21:10:29Z",
"published" : "2024-05-15T21:10:29Z",
"aliases" : [ ],
"summary" : "eZ Platform Editor Cross-site Scripting (XSS)",
"details" : "This Security Advisory is about two issues of low to medium severity. We recommend that you install the update as soon as possible.\n\n\nThere 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:\n\neZ Platform v1.13.x: ezsystems/PlatformUIAssetsBundle v4.2.3 (included from ezsystems/PlatformUIBundle v1.13.x)\neZ Platform v2.5.13: ezsystems/ezplatform-admin-ui-assets v4.2.1\neZ Platform v3.0.*: ezsystems/ezplatform-admin-ui-assets v5.0.1\neZ Platform v3.1.2: ezsystems/ezplatform-admin-ui-assets v5.1.1\n\n\nDrafts 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\n\neZ Platform EE v2.5.13: ezsystems/ezplatform-workflow v1.1.9\neZ Platform EE v3.1.2: ezsystems/ezplatform-workflow v2.1.1",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "ezsystems/ezplatform-admin-ui-assets"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2.0"
}, {
"fixed" : "4.2.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "ezsystems/ezplatform-admin-ui-assets"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "ezsystems/ezplatform-admin-ui-assets"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.1.0"
}, {
"fixed" : "5.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://ezplatform.com/security-advisories/ezsa-2020-005-editor-xss-and-trashed-drafts-in-review-queue"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezplatform-admin-ui-assets/2020-08-07-1.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ezsystems/ezplatform-admin-ui-assets"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-15T21:10:29Z",
"nvd_published_at" : null
}
}