Cross-site scripting in eZ Platform Kernel
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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Composer-Paket | ezsystems/ezplatform-kernel | < 1.2.5.1, >= 1.3.0, < 1.3.1.1 | 1.2.5.1, 1.3.1.1 |
| Composer-Paket | ezsystems/ezpublish-kernel | < 6.13.8.2, >= 7.0.0, < 7.5.15.2 | 6.13.8.2, 7.5.15.2 |
Verweise
- https://github.com/ezsystems/ezpublish-kernel/security/advisories/GHSA-mrvj-7q4f-5p42
- https://nvd.nist.gov/vuln/detail/CVE-2021-46875
- https://github.com/ezsystems/ezpublish-kernel/commit/29fecd2afe86f763510f10c02f14962d028f311b
- https://github.com/ezsystems/ezpublish-kernel
- https://packagist.org/packages/ezsystems/ezplatform-kernel#v1.2.5.1
- https://packagist.org/packages/ezsystems/ezpublish-kernel#v7.5.15.2
- Schwäche (CWE)
CWE-79- Plattform
- Composer
- Paket
ezsystems/ezplatform-kernel, ezsystems/ezpublish-kernel- Veröffentlicht
- 19.03.2021
- Aktualisiert
- 11.10.2026 10:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-mrvj-7q4f-5p42 - CC BY 4.0
Schwachstellenhistorie: ezsystems/ezplatform-kernel
Alle veröffentlichten Schwachstellen dieses Pakets (Composer-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 10
- Erste → letzte
- 03.2021 05.2024
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 3
- Hoch 3
- Mittel 2
- Niedrig 2
Veröffentlichungen pro Jahr
- 2021: 1
- 2022: 4
- 2023: 3
- 2024: 2
- 2025: 0
- 2026: 0
-
Cross-site scripting in eZ Platform Kernel dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.