VULNERABILITY INTELLIGENCE
CVE-2008-4810
CVSS score7.5 HIGH
EPSS probability2.19%
CISA KEVNot currently listed
Published2008-10-31
Last modified2026-06-16
CVSS vectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Description
The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 before r2797 allows remote attackers to execute arbitrary PHP code via vectors related to templates and (1) a dollar-sign character, aka "php executed in templates;" and (2) a double quoted literal string, aka a "function injection security hole." NOTE: each vector affects slightly different SVN revisions.
Weakness classification
- CWE-94: Improper Control of Generation of Code ('Code Injection')