CVE-2022-0260: Cross-site Scripting in pimcore
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.04359%
CWE
Published
1/26/2022
Updated
2/3/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 |
---|---|---|---|
pimcore/pimcore | composer | < 10.2.9 | 10.2.9 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from two key issues: (1) Lack of input sanitization when setting rule/target group names (via setName()
) in add/save actions, and (2) Missing output encoding when rendering names in list views. The patch added both input validation (via correctName()
) and output encoding (htmlspecialchars
). The listed controller actions were vulnerable because they handled user-controlled 'name' parameters without these protections prior to the fix. High confidence comes from the direct correlation between the patch changes and these specific functions' pre-patch behavior.