Smarty · Smarty · CVE-2012-4277
**Name of the Vulnerable Software and Affected Versions**
Smarty versions prior to 3.1.8
**Description**
A cross-site scripting (XSS) issue exists due to insufficient input validation in the smarty function html options optoutput function. This allows remote attackers to inject arbitrary web script or HTML.
**Recommendations**
For versions prior to 3.1.8, update to version 3.1.8 or later to resolve the issue.