Miggo Logo

CVE-2023-28850:
Pimcore Perspective Editor vulnerable to stored cross-site scripting (XSS) in perspective name

6.1

CVSS Score
3.1

Basic Information

EPSS Score
0.00274%
Published
4/3/2023
Updated
4/3/2023
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
pimcore/perspective-editorcomposer< 1.5.11.5.1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from unsanitized user input in perspective/view name fields. The patch adds two key mitigations: 1) Client-side sanitization using sanitizeString()/sanitizeName() in JavaScript handlers before storage, and 2) Server-side output encoding via htmlspecialchars() in PHP. The vulnerable functions are clearly the unpatched JavaScript event handlers that processed user input without these sanitization steps, allowing XSS payloads to be stored and later executed when rendered.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

### Imp**t T*is vuln*r**ility **s t** pot*nti*l to st**l * us*r's *ooki* *n* **in un*ut*oriz** ****ss to t**t us*r's ***ount t*rou** t** stol*n *ooki* or r**ir**t us*rs to ot**r m*li*ious sit*s. ### P*t***s Up**t* to v*rsion *.*.*. ### Work*roun*s

Reasoning

T** vuln*r**ility st*ms *rom uns*nitiz** us*r input in p*rsp**tiv*/vi*w n*m* *i*l*s. T** p*t** ***s two k*y miti**tions: *) *li*nt-si** s*nitiz*tion usin* `s*nitiz*Strin*()`/`s*nitiz*N*m*()` in J*v*S*ript **n*l*rs ***or* stor***, *n* *) S*rv*r-si** o