Smarty vulnerable to cross-site scripting


Smarty contains a cross-site scripting vulnerability.

Smarty is a template engine for PHP. Smarty contains a cross-site scripting vulnerability when displaying an error message.

Yuji Tounai of bogus.jp reported this vulnerability to IPA.
JPCERT/CC coordinated with the developer under Information Security Early Warning Partnership.
CVSS Severity (What is CVSS?)

CVSS V2 Severity:
Base Metrics 4.3 (Medium) [IPA Score]
  • Access Vector: Network
  • Access Complexity: Medium
  • Authentication: None
  • Confidentiality Impact: None
  • Integrity Impact: Partial
  • Availability Impact: None
Affected Products

  • Smarty 3.1.11 and earlier
  • Smarty 2.6.26 and earlier


An arbitrary script may be executed on the user's web browser.

[Update the software]
Update to the latest version according to the information provided by the developer.
Vendor Information

CWE (What is CWE?)

  1. Cross-site Scripting(CWE-79) [IPA Evaluation]
CVE (What is CVE?)

  1. CVE-2012-4437

  1. JVN : JVN#63650108
  2. National Vulnerability Database (NVD) : CVE-2012-4437
Revision History

  • [2012/10/10]
      Web page was published