CVE-2012-4277 json
Cross-site scripting (XSS) vulnerability in the smarty_function_html_options_optoutput function in distribution/libs/plugins/function.html_…
published 2012-08-13 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-4221
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- smarty3 Debian 14, Debian 13, Debian 12 3.1.10-1
debian advisories DEBIAN-CVE-2012-4277
Exploit prediction
1.25% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- code.google.com http://code.google.com/p/smarty-php/issues/detail?id=98&can=1 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
code.google.com
/p/smarty-php/source/detail?r=4612
patch
-
code.google.com
/p/smarty-php/issues/detail?id=98&can=1
exploit
-
secunia.com
/advisories/49164
third-party-advisory, vendor-advisory
-
securitytracker.com
/id?1027061
vdb-entry
- smarty-php.googlecode.com /svn/trunk/distribution/change_log.txt
Sources
- CVE List CVE-2012-4277
- NVD CVE-2012-4277
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.