What’s Vulnerable › Vulnerabilities
CVE-2012-4277
- Severity: medium (CVSS 4.3 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2012-08-13 · updated 2026-06-16
- Weakness: CWE-79
Description
Cross-site scripting (XSS) vulnerability in the smarty_function_html_options_optoutput function in distribution/libs/plugins/function.html_options.php in Smarty before 3.1.8 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.
Affected products
- Smarty: through 3.1.7; 1.0, 1.0a, 1.0b, 1.1.0, 1.2.0, 1.2.1 (+80)
References
- http://code.google.com/p/smarty-php/issues/detail?id=98&can=1
- http://code.google.com/p/smarty-php/source/detail?r=4612
- http://secunia.com/advisories/49164
- http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt
- http://www.securitytracker.com/id?1027061
- http://code.google.com/p/smarty-php/issues/detail?id=98&can=1
- http://code.google.com/p/smarty-php/source/detail?r=4612
- http://secunia.com/advisories/49164
- http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt
- http://www.securitytracker.com/id?1027061
Get alerted when CVE-2012-4277 or the next vulnerability affects your stack