Description
An issue was discovered in Elefant CMS before 2.0.7. There is a PHP Code Execution Vulnerability in /designer/add/stylesheet.php by using a .php extension in the New Stylesheet Name field in conjunction with <?php content, because of insufficient input validation in apps/designer/handlers/csspreview.php.
References (3)
Core 3
Core References
Exploit, Patch, Third Party Advisory x_refsource_misc
https://github.com/jbroadway/elefant/issues/286
Patch, Third Party Advisory x_refsource_misc
https://github.com/jbroadway/elefant/commit/0795ab57c7ffa53ff4af57e229f6d9680fa54a21
Release Notes x_refsource_misc
https://github.com/jbroadway/elefant/releases/tag/elefant_2_0_7_stable
Scores
CVSS v3
9.8
EPSS
0.0057
EPSS Percentile
68.8%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-94
Status
published
Products (2)
elefant/cms
0 - 2.0.7Packagist
elefantcms/elefant
< 2.0.7
Published
Sep 12, 2018
Tracked Since
Feb 18, 2026