CVE-2022-0256:
pimcore is vulnerable to Cross-site Scripting
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.00726%
CWE
Published
1/21/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 stems from the CustomReportController.php
's getReportConfigAction
method returning user-controlled data (like report names, CSS classes) without proper escaping. The GitHub patch explicitly adds htmlspecialchars()
to these fields, proving they were previously vulnerable to XSS. The JavaScript validation
in item.js
was a secondary defense, but the core vulnerability was server-side output encoding omission in this controller method.