Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. smarty/smarty
  4. ›
  5. CVE-2012-4437

CVE-2012-4437: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

May 17, 2022 (updated August 29, 2023)

Cross-site scripting (XSS) vulnerability in the SmartyException class in Smarty (aka smarty-php) before 3.1.12 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors that trigger a Smarty exception.

References

  • code.google.com/p/smarty-php/source/browse/trunk/distribution/change_log.txt
  • code.google.com/p/smarty-php/source/detail?r=4658
  • github.com/advisories/GHSA-9gqj-ppv2-f2hq
  • lists.fedoraproject.org/pipermail/package-announce/2012-September/088138.html
  • nvd.nist.gov/vuln/detail/CVE-2012-4437
  • web.archive.org/web/20140201075419/http://www.securityfocus.com/bid/55506
  • www.openwall.com/lists/oss-security/2012/09/19/1
  • www.openwall.com/lists/oss-security/2012/09/20/3

Code Behaviors & Features

Detect and mitigate CVE-2012-4437 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.1.12

Fixed versions

  • 3.1.12

Solution

Upgrade to version 3.1.12 or above.

Impact 4.3 MEDIUM

AV:N/AC:M/Au:N/C:N/I:P/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/smarty/smarty/CVE-2012-4437.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:59 +0000.