Miggo Logo

CVE-2022-0955: Cross-site Scripting in Pimcore Datahub

4.8

CVSS Score
3.1

Basic Information

EPSS Score
0.03607%
Published
3/25/2022
Updated
1/27/2023
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
pimcore/data-hubcomposer< 1.2.41.2.4

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

Pim*or* **t**u* prior to *.*.* is vuln*r**l* to stor** *ross-sit* s*riptin*. *n **min us*r ****ssin* **t**u* tri***rs t** *tt**k, w*i** m*y r*sult in t** us*r's *ooki* **in* stol*n.

Reasoning

T** *it*u* p*t** s*ows t** vuln*r**ility w*s *ix** *y ***in* `*tmlsp**i*l***rs()` to t** 't*xt' *i*l* in `*on*i**ontroll*r.p*p`'s *uil*It*m m*t*o*. T*is *un*tion *onstru*ts *on*i*ur*tion it*ms *ispl*y** in t** **min UI. Wit*out output *n*o*in*, m*li*