CVE-2023-2361: Cross-site Scripting (XSS) in pimcore
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.00206%
CWE
Published
5/1/2023
Updated
11/7/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.5.21 | 10.5.21 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from multiple functions handling user-controlled data without adequate sanitization before HTML output. The patch adds SecurityHelper::sanitizeHtmlAttributes() to these methods and removes dangerous 'on*' attributes from the allow list. The frontend() method was particularly critical as it directly constructed HTML attributes from unsanitized inputs. The getter methods (getParameters, getAnchor, etc.) returned raw data that flowed into HTML contexts. The setDataFromResource method's lack of sanitization allowed stored XSS payloads. The high confidence comes from the explicit security fixes applied to these specific functions in the commit.