GHSA-qm44-wjm2-pr59

Suggest an improvement
Source
https://github.com/advisories/GHSA-qm44-wjm2-pr59
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-qm44-wjm2-pr59/GHSA-qm44-wjm2-pr59.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qm44-wjm2-pr59
Aliases
Published
2024-07-31T15:27:11Z
Modified
2024-10-08T04:27:03.670356Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • 4.8 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Ibexa Admin UI vulnerable to DOM-based Cross-site Scripting in file upload widget
Details

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/infrastructureandmaintenance/security/reporting_issues/

Database specific
{
    "nvd_published_at": "2024-07-31T16:15:03Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-07-31T15:27:11Z"
}
References

Affected packages

Packagist / ibexa/admin-ui

Package

Name
ibexa/admin-ui
Purl
pkg:composer/ibexa/admin-ui

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.6.0-beta1
Fixed
4.6.9

Affected versions

v4.*

v4.6.0-beta1
v4.6.0-beta2
v4.6.0-beta3
v4.6.0-beta4
v4.6.0-beta5
v4.6.0-rc1
v4.6.0
v4.6.1
v4.6.2
v4.6.3
v4.6.4
v4.6.5
v4.6.6
v4.6.7
v4.6.8