GitHub Advisory Database
GHSA-x2w2-qgv6-8xrm
Elefant CMS PHP Code Execution Vulnerability
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | elefant/cms | All versions before 2.0.7 (fixed in 2.0.7) |