CVE-2022-2280: Cross-site Scripting in microweber
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.53487%
CWE
Published
7/2/2022
Updated
1/27/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
microweber/microweber | composer | < 1.2.19 | 1.2.19 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper input neutralization in file upload processing. The patch adds strtolower() calls to filename extensions in two locations, indicating the original code lacked case normalization. This allowed XSS vectors through file extensions that bypassed MIME type checks. While no specific named function is called out, the procedural code in plupload.php responsible for handling uploaded files' naming and validation is clearly the vulnerable component, as shown by the patch modifying extension handling logic.