DOM-based Cross-site Scripting Vulnerability in eZ Platform Admin UI

Summary

31/07/2024
MODERATE
Yes i
Moderate
5.4

GHSA-gc5h-6jx9-q2qh: eZ Platform Admin UI vulnerable to DOM-based Cross-site Scripting in file upload widget. Affects ezsystems/ezplatform-admin-ui versions >= 3.3.0, < 3.3.39. Fixed in 3.3.39. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

eZ Platform Admin UI is a package that provides a user interface for managing content in the eZ Platform CMS. It allows authenticated editors and administrators to upload files. However, the file upload widget in the package is vulnerable to DOM-based Cross-site Scripting (XSS) attacks when malicious payloads are included in filenames. This vulnerability requires the attacker to trick an editor or administrator into uploading a file with a specially crafted name. The impact of this vulnerability is moderate, as it is not persistent and the payload is only executed during the upload process.

Vulnerability Detail

The vulnerability in the eZ Platform Admin UI package allows for the execution of XSS payloads through filenames during the file upload process. This can be exploited by an attacker who can trick an editor or administrator into uploading a file with a malicious name. The vulnerability is not persistent, meaning the payload is only executed during the upload. However, it requires access permission to upload files, limiting its impact to authenticated users with the necessary privileges. The fix for this vulnerability ensures that XSS is properly escaped, preventing the execution of malicious scripts.

How To Fix

Minimum fixed version

3.3.39

This is the first release that contains the fix.

composer require ezsystems/ezplatform-admin-ui:3.3.39

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no known workarounds for this vulnerability. It is recommended to update the package to the latest version as soon as possible.

Conclusion

The eZ Platform Admin UI package is vulnerable to DOM-based Cross-site Scripting (XSS) attacks in the file upload widget. This vulnerability can be exploited by tricking an editor or administrator into uploading a file with a malicious name. It is recommended to update the package to version 3.3.39 or later to fix this vulnerability and prevent the execution of XSS payloads.

See every vulnerability recorded for ezsystems/ezplatform-admin-ui →

Share this vulnerability

FAQ

The impact of this vulnerability is moderate, as it requires access permission to upload files and the payload is only executed during the upload process. However, an attacker can exploit this vulnerability to execute XSS payloads by tricking an editor or administrator into uploading a file with a specially crafted name.

This vulnerability affects users of the eZ Platform Admin UI package, specifically authenticated editors and administrators who have permission to upload files.

No, this vulnerability is not persistent. The XSS payload is only executed during the file upload process.

No, there are no known workarounds for this vulnerability. It is recommended to update the package to the latest version.

To protect your application from this vulnerability, ensure that you have updated the eZ Platform Admin UI package to version 3.3.39 or later. This update includes the necessary patch to escape XSS payloads in filenames during the file upload process.

Related vulnerabilities

Recent vulnerabilities recorded for ezsystems/ezplatform-admin-ui.

How To Fix

Minimum fixed version

3.3.39

This is the first release that contains the fix.

composer require ezsystems/ezplatform-admin-ui:3.3.39

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback