Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | debian · cna |
Weaknesses
1- n/a
References
8- http://advisories.mageia.org/MGASA-2014-0468.html
- [oss-security] 20141022 CVE Request: smarty: secure mode bypass http://seclists.org/oss-sec/2014/q4/420
- [oss-security] 20141023 Re: CVE Request: smarty: secure mode bypass http://seclists.org/oss-sec/2014/q4/421
- MDVSA-2014:221 http://www.mandriva.com/security/advisories?name=MDVSA-2014:221
- 70708 http://www.securityfocus.com/bid/70708
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765920
- https://code.google.com/p/smarty-php/source/browse/trunk/distribution/change_log.txt?r=4902
- smarty-cve20148350-code-exec(97725) https://exchange.xforce.ibmcloud.com/vulnerabilities/97725
Provider assertions
2debian · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 980bff3f5d12eb9e5051d070340705908d2b9c115d3cefd5fe95d998dcb013c8
- Ingested
- 23 Sep 2026, 07:40:18 UTC
- Source record
- Official CVE record