CVE-2012-4437 json
Cross-site Scripting in SmartyException
published 2012-10-01 14 y ago modified 2026-06-16 4 mo ago also GHSA-9gqj-ppv2-f2hq , EUVD-2022-3376
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist smarty/smarty 3.1.12
- smarty3 Debian 14, Debian 13, Debian 12 3.1.10-2
debian advisories DEBIAN-CVE-2012-4437
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-4437 updated cvss 3.5
php-Smarty: XSS due improper sanitization of messages within SmartyException
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.46% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | smarty/smarty | <3.1.12 |
3.1.12 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
code.google.com
/p/smarty-php/source/detail?r=4658
patch
-
lists.fedoraproject.org
/pipermail/package-announce/2012-September/088138.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2014:221
vendor-advisory
-
secunia.com
/advisories/50589
third-party-advisory, vendor-advisory
-
openwall.com
/lists/oss-security/2012/09/19/1
mailing-list
- code.google.com /p/smarty-php/source/browse/trunk/distribution/change_log.txt
- advisories.mageia.org /MGASA-2014-0468.html
-
jvndb.jvn.jp
/ja/contents/2012/JVNDB-2012-000094.html
third-party-advisory
-
jvn.jp
/en/jp/JVN63650108/index.html
third-party-advisory
-
openwall.com
/lists/oss-security/2012/09/20/3
mailing-list
-
securityfocus.com
/bid/55506
vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2012-4437
advisory
-
code.google.com
/p/smarty-php/source/browse/trunk/distribution/change_log.txt
web
-
code.google.com
/p/smarty-php/source/detail?r=4658
web
-
github.com
/smarty-php/smarty
package
-
lists.fedoraproject.org
/pipermail/package-announce/2012-September/088138.html
web
-
web.archive.org
/web/20140201075419/http://www.securityfocus.com/bid/55506
web
-
openwall.com
/lists/oss-security/2012/09/19/1
web
-
openwall.com
/lists/oss-security/2012/09/20/3
web
Sources
- CVE List CVE-2012-4437
- GitHub Advisory GHSA-9gqj-ppv2-f2hq
- NVD CVE-2012-4437
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.