XSS in Smarty
CVE-2012-4277
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.012, 69.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Smarty — versions 1.0, 1.0a, 1.0b
Weakness classification (CWE)
References
- www.securitytracker.com/id (vdb-entry)
- code.google.com/p/smarty-php/issues/detail (Exploit)
- secunia.com/advisories/49164 (third-party-advisory, Vendor Advisory)
- smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt
- code.google.com/p/smarty-php/source/detail (Patch)