CVE-2014-8350
HIGH 7.5CVSS 2.0Smarty arbitrary PHP code execution
Smarty before 3.1.21 allows remote attackers to bypass the secure mode restrictions and execute arbitrary PHP code as demonstrated by "{literal}<{/literal}script language=php>" in a template.
- Published
- 3 Nov 2014
- Last modified
- 17 Jun 2026
- Assigned by
- security@debian.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-2pmx-6mm6-6v72
- Sources
- NVDJSONOSV GHSA-2pmx-6mm6-6v72JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:* |
<= 3.1.20 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.0:*:*:*:*:*:*:* |
= 1.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.0a:*:*:*:*:*:*:* |
= 1.0a | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.0b:*:*:*:*:*:*:* |
= 1.0b | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.1.0:*:*:*:*:*:*:* |
= 1.1.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.2.0:*:*:*:*:*:*:* |
= 1.2.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.2.1:*:*:*:*:*:*:* |
= 1.2.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.2.2:*:*:*:*:*:*:* |
= 1.2.2 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.3.0:*:*:*:*:*:*:* |
= 1.3.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.3.1:*:*:*:*:*:*:* |
= 1.3.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.3.2:*:*:*:*:*:*:* |
= 1.3.2 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.4.0:*:*:*:*:*:*:* |
= 1.4.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.4.0:b1:*:*:*:*:*:* |
= 1.4.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.4.0:b2:*:*:*:*:*:* |
= 1.4.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.4.1:*:*:*:*:*:*:* |
= 1.4.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.4.2:*:*:*:*:*:*:* |
= 1.4.2 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.4.3:*:*:*:*:*:*:* |
= 1.4.3 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.4.4:*:*:*:*:*:*:* |
= 1.4.4 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.4.5:*:*:*:*:*:*:* |
= 1.4.5 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.4.6:*:*:*:*:*:*:* |
= 1.4.6 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.5.0:*:*:*:*:*:*:* |
= 1.5.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.5.1:*:*:*:*:*:*:* |
= 1.5.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:1.5.2:*:*:*:*:*:*:* |
= 1.5.2 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.0.0:*:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.0.1:*:*:*:*:*:*:* |
= 2.0.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.1.0:*:*:*:*:*:*:* |
= 2.1.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.1.1:*:*:*:*:*:*:* |
= 2.1.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.2.0:*:*:*:*:*:*:* |
= 2.2.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.3.0:*:*:*:*:*:*:* |
= 2.3.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.3.1:*:*:*:*:*:*:* |
= 2.3.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.4.0:*:*:*:*:*:*:* |
= 2.4.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.4.1:*:*:*:*:*:*:* |
= 2.4.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.4.2:*:*:*:*:*:*:* |
= 2.4.2 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.5.0:*:*:*:*:*:*:* |
= 2.5.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.5.0:rc1:*:*:*:*:*:* |
= 2.5.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.5.0:rc2:*:*:*:*:*:* |
= 2.5.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.0:*:*:*:*:*:*:* |
= 2.6.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.0:rc1:*:*:*:*:*:* |
= 2.6.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.0:rc2:*:*:*:*:*:* |
= 2.6.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.0:rc3:*:*:*:*:*:* |
= 2.6.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.1:*:*:*:*:*:*:* |
= 2.6.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.2:*:*:*:*:*:*:* |
= 2.6.2 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.3:*:*:*:*:*:*:* |
= 2.6.3 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.4:*:*:*:*:*:*:* |
= 2.6.4 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.5:*:*:*:*:*:*:* |
= 2.6.5 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.6:*:*:*:*:*:*:* |
= 2.6.6 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.7:*:*:*:*:*:*:* |
= 2.6.7 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.9:*:*:*:*:*:*:* |
= 2.6.9 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.10:*:*:*:*:*:*:* |
= 2.6.10 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.11:*:*:*:*:*:*:* |
= 2.6.11 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.12:*:*:*:*:*:*:* |
= 2.6.12 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.13:*:*:*:*:*:*:* |
= 2.6.13 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.14:*:*:*:*:*:*:* |
= 2.6.14 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.15:*:*:*:*:*:*:* |
= 2.6.15 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.16:*:*:*:*:*:*:* |
= 2.6.16 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.17:*:*:*:*:*:*:* |
= 2.6.17 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.18:*:*:*:*:*:*:* |
= 2.6.18 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.20:*:*:*:*:*:*:* |
= 2.6.20 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.22:*:*:*:*:*:*:* |
= 2.6.22 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.24:*:*:*:*:*:*:* |
= 2.6.24 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.25:*:*:*:*:*:*:* |
= 2.6.25 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:2.6.26:*:*:*:*:*:*:* |
= 2.6.26 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.0.0:*:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.0.0:beta4:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.0.0:beta5:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.0.0:beta6:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.0.0:beta7:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.0.0:beta8:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.0.0:rc1:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.0.0:rc2:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.0.0:rc3:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.0.0:rc4:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.0.1:*:*:*:*:*:*:* |
= 3.0.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.0.2:*:*:*:*:*:*:* |
= 3.0.2 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.0.3:*:*:*:*:*:*:* |
= 3.0.3 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.0.4:*:*:*:*:*:*:* |
= 3.0.4 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.0.5:*:*:*:*:*:*:* |
= 3.0.5 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.0.6:*:*:*:*:*:*:* |
= 3.0.6 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.0.7:*:*:*:*:*:*:* |
= 3.0.7 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1:rc1:*:*:*:*:*:* |
= 3.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.0:*:*:*:*:*:*:* |
= 3.1.0 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.1:*:*:*:*:*:*:* |
= 3.1.1 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.2:*:*:*:*:*:*:* |
= 3.1.2 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.3:*:*:*:*:*:*:* |
= 3.1.3 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.4:*:*:*:*:*:*:* |
= 3.1.4 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.5:*:*:*:*:*:*:* |
= 3.1.5 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.6:*:*:*:*:*:*:* |
= 3.1.6 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.7:*:*:*:*:*:*:* |
= 3.1.7 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.8:*:*:*:*:*:*:* |
= 3.1.8 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.9:*:*:*:*:*:*:* |
= 3.1.9 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.10:*:*:*:*:*:*:* |
= 3.1.10 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.11:*:*:*:*:*:*:* |
= 3.1.11 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.12:*:*:*:*:*:*:* |
= 3.1.12 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.13:*:*:*:*:*:*:* |
= 3.1.13 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.14:*:*:*:*:*:*:* |
= 3.1.14 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.15:*:*:*:*:*:*:* |
= 3.1.15 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.16:*:*:*:*:*:*:* |
= 3.1.16 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.17:*:*:*:*:*:*:* |
= 3.1.17 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.18:*:*:*:*:*:*:* |
= 3.1.18 | |
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:3.1.19:*:*:*:*:*:*:* |
= 3.1.19 | |
| OSV | Packagist | smarty/smarty | < 3.1.21 | 3.1.21 |
References
- http://advisories.mageia.org/MGASA-2014-0468.html · WEB
- http://seclists.org/oss-sec/2014/q4/420 · Exploit, WEB
- http://seclists.org/oss-sec/2014/q4/421 · Exploit, WEB
- http://www.mandriva.com/security/advisories?name=MDVSA-2014:221 · WEB
- http://www.securityfocus.com/bid/70708 · WEB
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765920 · Exploit, WEB
- https://code.google.com/p/smarty-php/source/browse/trunk/distribution/change_log.txt?r=4902 · WEB
- https://exchange.xforce.ibmcloud.com/vulnerabilities/97725 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2014-8350 · ADVISORY
- https://github.com/smarty-php/smarty · PACKAGE
History
- 25 Nov 2026 20:18 UTC · NVD: first stored (published 3 Nov 2014)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 May 2022)