Smarty 3 before 3.1.32 is vulnerable to a PHP code injection when calling fetch() or display() functions on custom resources that does not sanitize template name.
{
"source": "CPE_RANGE",
"cpe": "cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.1.32"
}
]
}