# GHSA-gc5h-6jx9-q2qh: eZ Platform Admin UI vulnerable to DOM-based Cross-site Scripting in file upload widget

- Severity: Medium (CVSS:4.0, scored by GitHub) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-07-31T17:01:59.000Z
- Modified: 2026-02-04T04:01:43.647Z
- Related: CVE-2024-39318
- Weaknesses: CWE-79

## Description

### Impact
The 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.

### Patches
See "Patched versions". Commit: https://github.com/ezsystems/ezplatform-admin-ui/commit/7a9f991b200fa5a03d49cd07f50577c8bc90a30b

### Workarounds
None.

### References
- https://developers.ibexa.co/security-advisories/ibexa-sa-2024-004-dom-based-xss-in-file-upload
- https://github.com/ezsystems/ezplatform-admin-ui/commit/7a9f991b200fa5a03d49cd07f50577c8bc90a30b
- https://github.com/ibexa/admin-ui/security/advisories/GHSA-qm44-wjm2-pr59

### Credit
This vulnerability was discovered and reported to Ibexa by Alec Romano: https://github.com/4rdr
We thank them for reporting it responsibly to us.

How to report security issues:
https://doc.ibexa.co/en/latest/infrastructure_and_maintenance/security/reporting_issues/

(As written by GitHub Advisory Database.)

## Affected

- ezsystems/ezplatform-admin-ui (Packagist): from 3.3.0 before 3.3.39

## Every score

- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/ezsystems/ezplatform-admin-ui/security/advisories/GHSA-gc5h-6jx9-q2qh> (web)
- <https://github.com/ibexa/admin-ui/security/advisories/GHSA-qm44-wjm2-pr59> (web)
- <https://github.com/ezsystems/ezplatform-admin-ui/commit/7a9f991b200fa5a03d49cd07f50577c8bc90a30b> (web)
- <https://developers.ibexa.co/security-advisories/ibexa-sa-2024-004-dom-based-xss-in-file-upload> (web)
- <https://github.com/ezsystems/ezplatform-admin-ui> (package)

## Sources

- GitHub Advisory Database: [GHSA-gc5h-6jx9-q2qh](https://github.com/advisories/GHSA-gc5h-6jx9-q2qh), CC-BY-4.0, modified 2026-02-04

---

Page: https://cve.day/GHSA-gc5h-6jx9-q2qh · Whole record: https://cve.day/GHSA-gc5h-6jx9-q2qh.json · Rebuilt by cve.day 2026-11-25T22:56:32.150Z
