An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLW1ydmotN3E0Zi01cDQy
Cross-site scripting in eZ Platform Kernel
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.
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
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.Permalink: https://github.com/advisories/GHSA-mrvj-7q4f-5p42
Source: GitHub Advisory Database
Published: about 2 years ago
Updated: 5 months ago
packagist:ezsystems/ezplatform-kernelVersions: >= 1.3.0, <= 1.3.1, <= 1.2.5
Fixed in: 22.214.171.124, 126.96.36.199
packagist:ezsystems/ezpublish-kernelVersions: >= 7.0.0, <= 188.8.131.52, <= 184.108.40.206
Fixed in: 220.127.116.11, 18.104.22.168