CVE-2022-0263: Unrestricted Upload of File with Dangerous Type in pimcore
7.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.00126%
CWE
Published
1/21/2022
Updated
2/3/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
pimcore/pimcore | composer | < 10.2.7 | 10.2.7 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the file upload handler in SettingsController.php
which lacked SVG content validation. The GitHub patch specifically adds a check for <script> tags in SVG files within this function
, indicating it was the entry point for unsafe uploads. The CWE-434 classification confirms this is an unrestricted dangerous file type upload issue, and the commit diff directly modifies this function
to implement security checks.