{"id":"GHSA-x2w2-qgv6-8xrm","summary":"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 `\u003c?php` content, because of insufficient input validation in `apps/designer/handlers/csspreview.php`.","aliases":["CVE-2018-16975"],"modified":"2024-04-23T23:11:43.195805Z","published":"2022-05-13T01:19:19Z","database_specific":{"nvd_published_at":"2018-09-12T21:29:00Z","cwe_ids":["CWE-94"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2024-04-23T22:56:57Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16975"},{"type":"WEB","url":"https://github.com/jbroadway/elefant/issues/286"},{"type":"WEB","url":"https://github.com/jbroadway/elefant/commit/0795ab57c7ffa53ff4af57e229f6d9680fa54a21"},{"type":"PACKAGE","url":"https://github.com/jbroadway/elefant"},{"type":"WEB","url":"https://github.com/jbroadway/elefant/releases/tag/elefant_2_0_7_stable"}],"affected":[{"package":{"name":"elefant/cms","ecosystem":"Packagist","purl":"pkg:composer/elefant/cms"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-x2w2-qgv6-8xrm/GHSA-x2w2-qgv6-8xrm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}