CVE-2018-16975 json
Elefant CMS PHP Code Execution Vulnerability
published 2018-09-12 8 y ago modified 2026-06-17 4 mo ago also GHSA-x2w2-qgv6-8xrm , EUVD-2022-5689
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.7%
- EPSS 3.7% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist elefant/cms 2.0.7
- elefantcms elefant 2.0.7
Exploit prediction
3.73% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/jbroadway/elefant/issues/286 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | elefant/cms | <2.0.7 |
2.0.7 |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/jbroadway/elefant/commit/0795ab57c7ffa53ff4af57e229f6d9680fa54a21
web, patch, third-party-advisory
-
github.com
/jbroadway/elefant/issues/286
web, exploit, patch, third-party-advisory
-
github.com
/jbroadway/elefant/releases/tag/elefant_2_0_7_stable
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2018-16975
advisory
-
github.com
/jbroadway/elefant
package
Sources
- CVE List CVE-2018-16975
- GitHub Advisory GHSA-x2w2-qgv6-8xrm
- NVD CVE-2018-16975
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.