GHSA-gc5h-6jx9-q2qh: Ezsystems/ezplatform admin ui Cross-Site Scripting Vulnerability
MODERATEGHSA-gc5h-6jx9-q2qh is a MODERATE (CVSS 5.4) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Ezsystems/ezplatform admin ui libraries in the Packagist ecosystem. The issue involves ez platform admin ui vulnerable to dom-based cross-site scripting in file upload widget. Remediation is available by upgrading affected packages to version 3.3.39.
GHSA-gc5h-6jx9-q2qh at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N).
How to Fix GHSA-gc5h-6jx9-q2qh
To remediate this vulnerability, upgrade all affected Ezsystems/ezplatform admin ui 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 to 3.3.39
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
How to Check if You Are Affected
To determine whether your application is affected by GHSA-gc5h-6jx9-q2qh, inspect your project dependencies for Ezsystems/ezplatform admin ui:
inspect dependencies for ezsystems/ezplatform-admin-ui
Analyze the terminal output to locate any version of Ezsystems/ezplatform admin ui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.3.39), 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, 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-gc5h-6jx9-q2qh Affected Ezsystems/ezplatform admin ui Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ezsystems/ezplatform-admin-ui
|
Packagist |
≥ 3.3.0
< 3.3.39
|
3.3.39
|
References
Frequently Asked Questions
What is GHSA-gc5h-6jx9-q2qh?
Which Ezsystems/ezplatform admin ui versions are affected?
What version fixes GHSA-gc5h-6jx9-q2qh?
Is ezsystems/ezplatform-admin-ui affected?
What is the CVSS score of GHSA-gc5h-6jx9-q2qh?
What CWE is associated with GHSA-gc5h-6jx9-q2qh?
How can I check Packagist dependencies for GHSA-gc5h-6jx9-q2qh?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gc5h-6jx9-q2qh",
"modified" : "2024-07-31T17:01:59Z",
"published" : "2024-07-31T17:01:59Z",
"aliases" : [ ],
"summary" : "eZ Platform Admin UI vulnerable to DOM-based Cross-site Scripting in file upload widget",
"details" : "### Impact\nThe file upload widget is vulnerable to XSS payloads in filenames. Access permission to upload files is required. As such, in most cases only authenticated editors and administrators will have the required permission. It is not persistent, i.e. the payload is only executed during the upload. In effect, an attacker will have to trick an editor/administrator into uploading a strangely named file. The fix ensures XSS is escaped.\n\n### Patches\nSee \"Patched versions\". Commit: https://github.com/ezsystems/ezplatform-admin-ui/commit/7a9f991b200fa5a03d49cd07f50577c8bc90a30b\n\n### Workarounds\nNone.\n\n### References\n- https://developers.ibexa.co/security-advisories/ibexa-sa-2024-004-dom-based-xss-in-file-upload\n- https://github.com/ezsystems/ezplatform-admin-ui/commit/7a9f991b200fa5a03d49cd07f50577c8bc90a30b\n- https://github.com/ibexa/admin-ui/security/advisories/GHSA-qm44-wjm2-pr59\n\n### Credit\nThis vulnerability was discovered and reported to Ibexa by Alec Romano: https://github.com/4rdr\nWe thank them for reporting it responsibly to us.\n\nHow to report security issues:\nhttps://doc.ibexa.co/en/latest/infrastructure_and_maintenance/security/reporting_issues/",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "ezsystems/ezplatform-admin-ui"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.3.0"
}, {
"fixed" : "3.3.39"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ezsystems/ezplatform-admin-ui/security/advisories/GHSA-gc5h-6jx9-q2qh"
}, {
"type" : "WEB",
"url" : "https://github.com/ibexa/admin-ui/security/advisories/GHSA-qm44-wjm2-pr59"
}, {
"type" : "WEB",
"url" : "https://github.com/ezsystems/ezplatform-admin-ui/commit/7a9f991b200fa5a03d49cd07f50577c8bc90a30b"
}, {
"type" : "WEB",
"url" : "https://developers.ibexa.co/security-advisories/ibexa-sa-2024-004-dom-based-xss-in-file-upload"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ezsystems/ezplatform-admin-ui"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-07-31T17:01:59Z",
"nvd_published_at" : null
}
}