Live threats

All CVEs / Elefantcms

CVE-2018-16975Elefantcms Elefant

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
3.7%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Sep 12, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Elefant.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist elefant/cms < 2.0.7 2.0.7 composer require "elefant/cms:^2.0.7"

Per OSV / GitHub Advisories (GHSA-x2w2-qgv6-8xrm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
elefantcmselefant< 2.0.7

Official sources

References

Links published by the sources. Open them with care.