CVE-2018-16975
CRITICAL 9.8CVSS 3.0Elefant CMS PHP Code Execution Vulnerability
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.
- Published
- 12 Sep 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-x2w2-qgv6-8xrm
- Sources
- NVDJSONOSV GHSA-x2w2-qgv6-8xrmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | elefantcms | elefantcpe:2.3:a:elefantcms:elefant:*:*:*:*:*:*:*:* |
< 2.0.7 | 2.0.7 |
| OSV | Packagist | elefant/cms | < 2.0.7 | 2.0.7 |
References
- https://github.com/jbroadway/elefant/commit/0795ab57c7ffa53ff4af57e229f6d9680fa54a21 · Patch, Third Party Advisory, WEB
- https://github.com/jbroadway/elefant/issues/286 · Exploit, Patch, Third Party Advisory, WEB
- https://github.com/jbroadway/elefant/releases/tag/elefant_2_0_7_stable · Release Notes, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-16975 · ADVISORY
- https://github.com/jbroadway/elefant · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 12 Sep 2018)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2022)