CVE-2022-0955: Cross-site Scripting in Pimcore Datahub
4.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.03607%
CWE
Published
3/25/2022
Updated
1/27/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
pimcore/data-hub | composer | < 1.2.4 | 1.2.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The GitHub patch shows the vulnerability was fixed by adding htmlspecialchars()
to the 'text' field in ConfigController.php
's buildItem method. This function constructs configuration items displayed in the admin UI. Without output encoding, malicious configuration names could execute scripts when rendered, matching the described stored XSS behavior. The direct correlation between the unescaped $name parameter and the XSS mechanism makes this function clearly vulnerable.