GHSA-w9p3-26fx-5mp3: Ezsystems/platform ui assets bundle Cross-Site Scripting Vulnerability
MODERATEGHSA-w9p3-26fx-5mp3 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Ezsystems/platform ui assets bundle libraries in the Packagist ecosystem. The issue involves ez platform admin ui is vulnerable to cross-site scripting (xss). Remediation is available by upgrading affected packages to version 4.2.3.
GHSA-w9p3-26fx-5mp3 at a Glance
How to Fix GHSA-w9p3-26fx-5mp3
To remediate this vulnerability, upgrade all affected Ezsystems/platform ui assets bundle 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/platform-ui-assets-bundle to 4.2.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for ezsystems/platform-ui-assets-bundle
How to Check if You Are Affected
To determine whether your application is affected by GHSA-w9p3-26fx-5mp3, inspect your project dependencies for Ezsystems/platform ui assets bundle:
inspect dependencies for ezsystems/platform-ui-assets-bundle
Analyze the terminal output to locate any version of Ezsystems/platform ui assets bundle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.3), 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/platform ui assets bundle, 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-w9p3-26fx-5mp3 Affected Ezsystems/platform ui assets bundle Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ezsystems/platform-ui-assets-bundle
|
Packagist |
≥ 4.2.0
< 4.2.3
|
4.2.3
|
References
Frequently Asked Questions
What is GHSA-w9p3-26fx-5mp3?
Which Ezsystems/platform ui assets bundle versions are affected?
What version fixes GHSA-w9p3-26fx-5mp3?
Is ezsystems/platform-ui-assets-bundle affected?
What CWE is associated with GHSA-w9p3-26fx-5mp3?
How can I check Packagist dependencies for GHSA-w9p3-26fx-5mp3?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w9p3-26fx-5mp3",
"modified" : "2024-05-15T21:34:20Z",
"published" : "2024-05-15T21:34:20Z",
"aliases" : [ ],
"summary" : "eZ Platform Admin UI is vulnerable to Cross-site Scripting (XSS)",
"details" : "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:\n```\neZ Platform v1.13.x: ezsystems/PlatformUIAssetsBundle v4.2.3 (included from ezsystems/PlatformUIBundle v1.13.x)\n\neZ Platform v2.5.13: ezsystems/ezplatform-admin-ui-assets v4.2.1\n\neZ Platform v3.0.*: ezsystems/ezplatform-admin-ui-assets v5.0.1\n\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\n\neZ Platform EE v3.1.2: ezsystems/ezplatform-workflow v2.1.1\n```",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "ezsystems/platform-ui-assets-bundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2.0"
}, {
"fixed" : "4.2.3"
} ]
} ]
} ],
"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/platform-ui-assets-bundle/2020-08-07-1.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ezsystems/PlatformUIAssetsBundle"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-15T21:34:20Z",
"nvd_published_at" : null
}
}