CVE-2017-20058: Cross site scripting in Elefant CMS
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.45577%
CWE
Published
6/21/2022
Updated
1/27/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
elefant/cms | composer | < 1.3.13 | 1.3.13 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key areas: 1) The version comparison feature displays user-controllable data without proper escaping (as evidenced by PoC URLs like /admin/compare?id=8¤t=no). The render_diff function is central to this component. 2) User profile fields are stored without adequate sanitization and reflected in admin views. While the exact function names aren't specified in disclosures, Elefant's MVC structure suggests these handlers would be responsible. The 'high' confidence for render_diff aligns with the CVE's focus on version comparison, while user profile handling receives 'medium' confidence due to indirect evidence in disclosure details.