CVE-2024-39318: Ibexa Admin UI vulnerable to DOM-based Cross-site Scripting in file upload widget
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.
Published Jul 31, 2024
Affected packages
ibexa/admin-ui
- Ecosystem
- Composer (PHP)
- Affected
- >= 4.6.0-beta1, < 4.6.9
- Fixed in
- 4.6.9
- Check
composer show ibexa/admin-ui
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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/ibexa/admin-ui/commit/8dc413fad1045fcfbe65dbcb0bea8516accc4c3e
Workarounds
None.
References
- https://developers.ibexa.co/security-advisories/ibexa-sa-2024-004-dom-based-xss-in-file-upload
- https://github.com/ibexa/admin-ui/commit/8dc413fad1045fcfbe65dbcb0bea8516accc4c3e
- https://github.com/ezsystems/ezplatform-admin-ui/security/advisories/GHSA-gc5h-6jx9-q2qh
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/
Credited to 4rdr.
References
- https://github.com/ezsystems/ezplatform-admin-ui/security/advisories/GHSA-gc5h-6jx9-q2qh
- https://github.com/ibexa/admin-ui/security/advisories/GHSA-qm44-wjm2-pr59
- https://github.com/ibexa/admin-ui/commit/8dc413fad1045fcfbe65dbcb0bea8516accc4c3e
- https://developers.ibexa.co/security-advisories/ibexa-sa-2024-004-dom-based-xss-in-file-upload
- https://nvd.nist.gov/vuln/detail/CVE-2024-39318
- https://github.com/ezsystems/ezplatform-admin-ui/commit/7a9f991b200fa5a03d49cd07f50577c8bc90a30b
- https://github.com/advisories/GHSA-qm44-wjm2-pr59
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesGHSA-2mx6-fq24-g2mh
ibexa/admin-ui has an XSS vulnerability in Cancel/Reschedule future publication modal
medium4.8Oct 17, 2025GHSA-5r6x-g6jv-4v87
Ibexa Admin UI XSS vulnerabilities in back office
medium6.1Jun 13, 2025CVE-2024-53864
Ibexa Admin UI vulnerable to Cross-site Scripting in a field that is used in the Content name pattern
medium5.3Dec 2, 2024
