CVE-2008-1066: Smarty

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

The modifier.regex_replace.php plugin in Smarty before 2.6.19, as used by Serendipity (S9Y) and other products, allows attackers to call arbitrary PHP functions via templates, related to a '\0' character in a search string.

Affected products

  • Smarty Smarty: up to and including 2.6.18

Published 2008-02-28. Last modified 2026-06-16.