CVE-2012-4277
medium
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
4.3
Description
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.
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-1 |
| debian | bullseye | fixed | 3.1.10-1 |
| debian | forky | fixed | 3.1.10-1 |
| debian | sid | fixed | 3.1.10-1 |
| debian | trixie | fixed | 3.1.10-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| smarty | smarty | {"endIncluding":"3.1.7"} | |
| 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 | |
References
- http://code.google.com/p/smarty-php/issues/detail?id=98&can=1
- http://code.google.com/p/smarty-php/source/detail?r=4612
- http://secunia.com/advisories/49164
- http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt
- http://www.securitytracker.com/id?1027061
- https://security-tracker.debian.org/tracker/CVE-2012-4277
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.