CVE-2021-46875
PHP vulnerability analysis and mitigation

Overview

An XSS vulnerability (CVE-2021-46875) was discovered in eZ Platform Ibexa Kernel versions before 1.3.1.1. The vulnerability allows attackers to perform cross-site scripting attacks by uploading JavaScript code within .html or .js files. The issue affects multiple versions including eZ Platform Kernel 1.2.0-1.2.5.1, 1.3.0-1.3.1.1, 6.13.0-6.13.8.2, and 7.5.0-7.5.15.2 (NVD, MITRE).

Technical details

The vulnerability has a CVSS v3.1 Base Score of 6.1 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. The issue stems from insufficient file type validation in the file upload functionality, which allows malicious users to upload files containing JavaScript code that can be executed when accessed. The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation) (NVD).

Impact

When exploited, this vulnerability allows attackers to perform cross-site scripting (XSS) attacks by uploading malicious HTML or JavaScript files. When victims access links to these uploaded files, the embedded XSS exploits are executed in their browsers, potentially leading to unauthorized access to user data or session information (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in versions 6.13.8.2, 7.5.15.2, 1.2.5.1, and 1.3.1.1. The fix involves adding common types of scriptable file types to the configuration of the existing filetype blacklist feature. Organizations can also manually implement the fix by updating the 'ezsettings.default.io.filestorage.filetype_blacklist' configuration without upgrading to the patched versions. However, administrators should carefully consider which file types to blacklist based on their specific needs (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-898v-775g-777cCRITICAL9.4
  • PHPPHP
  • neuron-core/neuron-ai
NoYesDec 09, 2025
GHSA-5j8p-438x-rgg5CRITICAL9.3
  • PHPPHP
  • onelogin/php-saml
NoYesDec 09, 2025
GHSA-j8g6-5gqc-mq36HIGH8.2
  • PHPPHP
  • neuron-core/neuron-ai
NoYesDec 09, 2025
GHSA-pvcv-q3q7-266gHIGH8.1
  • PHPPHP
  • filament/filament
NoYesDec 09, 2025
GHSA-6w82-v552-wjw2HIGH7.1
  • PHPPHP
  • shopware/shopware
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management