CVE-2018-19520: PHP

High severity, CVSS 8.8. EPSS: 2.9% chance of exploitation in the next 30 days.

An issue was discovered in SDCMS 1.6 with PHP 5.x. app/admin/controller/themecontroller.php uses a check_bad function in an attempt to block certain PHP functions such as eval, but does not prevent use of preg_replace 'e' calls, allowing users to execute arbitrary code by leveraging access to admin template management.

Affected products

  • PHP PHP: from 5.0.0, up to and including 5.6.38
  • Sdcms Sdcms: version 1.6 only

Published 2018-11-25. Last modified 2026-06-17.