CVE-2012-4437
medium
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
4.3
Description
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.
Predictions
Exploit likelihood
20%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 3.1.10-2 |
| debian | bullseye | fixed | 3.1.10-2 |
| debian | forky | fixed | 3.1.10-2 |
| debian | sid | fixed | 3.1.10-2 |
| debian | trixie | fixed | 3.1.10-2 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Packagist | smarty/smarty | <3.1.12 | 3.1.12 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| smarty | smarty | 1.0 | |
| smarty | smarty | 1.0a | |
| smarty | smarty | 1.0b | |
| smarty | smarty | 1.1.0 | |
| smarty | smarty | 1.2.0 | |
| smarty | smarty | 1.2.1 | |
| smarty | smarty | 1.2.2 | |
| smarty | smarty | 1.3.0 | |
| smarty | smarty | 1.3.1 | |
| smarty | smarty | 1.3.2 | |
| smarty | smarty | 1.4.0 | |
| smarty | smarty | 1.4.1 | |
| smarty | smarty | 1.4.2 | |
| smarty | smarty | 1.4.3 | |
| smarty | smarty | 1.4.4 | |
| smarty | smarty | 1.4.5 | |
| smarty | smarty | 1.4.6 | |
| smarty | smarty | 1.5.0 | |
| smarty | smarty | 1.5.1 | |
| smarty | smarty | 1.5.2 | |
| smarty | smarty | 2.0.0 | |
| smarty | smarty | 2.0.1 | |
| smarty | smarty | 2.1.0 | |
| smarty | smarty | 2.1.1 | |
| smarty | smarty | 2.2.0 | |
| smarty | smarty | 2.3.0 | |
| smarty | smarty | 2.3.1 | |
| smarty | smarty | 2.4.0 | |
| smarty | smarty | 2.4.1 | |
| smarty | smarty | 2.4.2 | |
| smarty | smarty | 2.5.0 | |
| smarty | smarty | 2.6.0 | |
| smarty | smarty | 2.6.1 | |
| smarty | smarty | 2.6.2 | |
| smarty | smarty | 2.6.3 | |
| smarty | smarty | 2.6.4 | |
| smarty | smarty | 2.6.5 | |
| smarty | smarty | 2.6.6 | |
| smarty | smarty | 2.6.7 | |
| smarty | smarty | 2.6.9 | |
| smarty | smarty | 2.6.10 | |
| smarty | smarty | 2.6.11 | |
| smarty | smarty | 2.6.12 | |
| smarty | smarty | 2.6.13 | |
| smarty | smarty | 2.6.14 | |
| smarty | smarty | 2.6.15 | |
| smarty | smarty | 2.6.16 | |
| smarty | smarty | 2.6.17 | |
| smarty | smarty | 2.6.18 | |
| smarty | smarty | 2.6.20 | |
| smarty | smarty | 2.6.22 | |
| smarty | smarty | 2.6.24 | |
| smarty | smarty | 2.6.25 | |
| smarty | smarty | 2.6.26 | |
| smarty | smarty | 3.0.0 | |
| smarty | smarty | 3.0.1 | |
| smarty | smarty | 3.0.2 | |
| smarty | smarty | 3.0.3 | |
| smarty | smarty | 3.0.4 | |
| smarty | smarty | 3.0.5 | |
| smarty | smarty | 3.0.6 | |
| smarty | smarty | 3.0.7 | |
| smarty | smarty | 3.1 | |
| smarty | smarty | 3.1.0 | |
| smarty | smarty | 3.1.1 | |
| smarty | smarty | 3.1.2 | |
| smarty | smarty | 3.1.3 | |
| smarty | smarty | 3.1.4 | |
| smarty | smarty | 3.1.5 | |
| smarty | smarty | 3.1.6 | |
| smarty | smarty | 3.1.7 | |
| smarty | smarty | 3.1.8 | |
| smarty | smarty | 3.1.9 | |
| smarty | smarty | 3.1.10 | |
| smarty | smarty | 3.1.11 | |
| smarty | smarty | 3.1.12 | |
References
- http://advisories.mageia.org/MGASA-2014-0468.html
- http://code.google.com/p/smarty-php/source/browse/trunk/distribution/change_log.txt
- http://code.google.com/p/smarty-php/source/detail?r=4658
- http://jvn.jp/en/jp/JVN63650108/index.html
- http://jvndb.jvn.jp/ja/contents/2012/JVNDB-2012-000094.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088138.html
- http://secunia.com/advisories/50589
- http://www.mandriva.com/security/advisories?name=MDVSA-2014:221
- http://www.openwall.com/lists/oss-security/2012/09/19/1
- http://www.openwall.com/lists/oss-security/2012/09/20/3
- http://www.securityfocus.com/bid/55506
- https://nvd.nist.gov/vuln/detail/CVE-2012-4437
- https://code.google.com/p/smarty-php/source/browse/trunk/distribution/change_log.txt
- https://code.google.com/p/smarty-php/source/detail?r=4658
- https://github.com/smarty-php/smarty
- https://lists.fedoraproject.org/pipermail/package-announce/2012-September/088138.html
- https://web.archive.org/web/20140201075419/http://www.securityfocus.com/bid/55506
- https://www.openwall.com/lists/oss-security/2012/09/19/1
- https://www.openwall.com/lists/oss-security/2012/09/20/3
- https://security-tracker.debian.org/tracker/CVE-2012-4437
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.