CVE-2014-8350
highpriority · track · 31EPSS 0.031 · 88 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.4–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (86)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-2pmx-6mm6-6v72Smarty arbitrary PHP code execution2022-05-17ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (23)
External citations — patches, advisories, analysis.
- http://code.google.com/p/smarty-php/source/browse/trunk/distribution/change_log.txtPatchcnnvd
- http://seclists.org/oss-sec/2014/q4/420cnnvd
- http://seclists.org/oss-sec/2014/q4/421cnnvd
- http://www.securityfocus.com/bid/70708cnnvd
- http://xforce.iss.net/xforce/xfdb/97725cnnvd
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765920cnnvd
- https://code.google.com/p/smarty-php/source/browse/trunk/distribution/change_log.txt?r=4902cnnvd
- http://advisories.mageia.org/MGASA-2014-0468.htmlenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan