High

Cross-site scripting in eZ Platform Kernel

  • Disclosed: 19.03.2021
  • Updated: 11.10.2026 10:22

Impact

In file upload it is possible by certain means to upload files like .html and .js. These may contain XSS exploits which will be run when links to them are accessed by victims.

Patches

The fix consists simply of adding common types of scriptable file types to the configuration of the already existing filetype blacklist feature. See "Patched versions". As such, this can also be done manually, without installing the patched versions. This may be relevant if you are currently running a considerably older version of the kernel package and don't want to upgrade it at this time. Please see the settting "ezsettings.default.io.file_storage.file_type_blacklist" at: https://github.com/ezsystems/ezplatform-kernel/blob/master/eZ/Bundle/EzPublishCoreBundle/Resources/config/default_settings.yml#L109

Important note

You should adapt this setting to your needs. Do not add file types to the blacklist that you actually need to be able to upload. For instance, if you need your editors to be able to upload SVG files, then don't blacklist that. Instead, you could e.g. use an approval workflow for such content.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package ezsystems/ezplatform-kernel < 1.2.5.1, >= 1.3.0, < 1.3.1.1 1.2.5.1, 1.3.1.1
Composer package ezsystems/ezpublish-kernel < 6.13.8.2, >= 7.0.0, < 7.5.15.2 6.13.8.2, 7.5.15.2

References

CVSS score -
Weakness (CWE)
CWE-79
Platform
Composer
Package
ezsystems/ezplatform-kernel, ezsystems/ezpublish-kernel
Disclosed
19.03.2021
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-mrvj-7q4f-5p42 - CC BY 4.0

Vulnerability history: ezsystems/ezplatform-kernel

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (10) in the archive
Total entries
10
First → latest
03.2021 05.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 3
  • High 3
  • Medium 2
  • Low 2

Disclosures per year

  1. 2021: 1
  2. 2022: 4
  3. 2023: 3
  4. 2024: 2
  5. 2025: 0
  6. 2026: 0
Severity:
  1. High ghsa-2w9p-xxqr-h253 >= 1.0.0, < 1.0.3 1.0.3
  2. High · 7.2 CVE-2022-48365 >= 1.3.0, < 1.3.26 1.3.26
  3. Critical ghsa-8h83-chh2-fchp >= 1.3.0, < 1.3.26 1.3.26
  4. Critical ghsa-342c-vcff-2ff2 >= 1.3.0, < 1.3.19 1.3.19
  5. Critical ghsa-w8qp-hmh5-4v9v >= 1.3.0, < 1.3.17 1.3.17
  6. Cross-site scripting in eZ Platform Kernel this entry
    High CVE-2021-46875 < 1.2.5.1, >= 1.3.0, < 1.3.1.1 1.2.5.1, 1.3.1.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.