{"id":"CVE-2014-8350","published":"2014-11-03T16:00:00Z","modified":"2024-08-06T13:18:48Z","title":"Smarty before 3.1.21 allows remote attackers to bypass the secure mode restrictions and execute arbitrary PHP code as…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03127,"percentile":0.88169,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/70708","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://seclists.org/oss-sec/2014/q4/421","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://code.google.com/p/smarty-php/source/browse/trunk/distribution/change_log.txt?r=4902","tags":["x_refsource_CONFIRM"]},{"url":"http://advisories.mageia.org/MGASA-2014-0468.html","tags":["x_refsource_CONFIRM"]},{"url":"http://seclists.org/oss-sec/2014/q4/420","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2014:221","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/97725","tags":["vdb-entry","x_refsource_XF"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765920","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.6,"factors":[{"name":"EPSS percentile","points":17.63}]},"affected":[{"ecosystem":"Packagist","package":"smarty/smarty","vulnerableRanges":["<3.1.21"],"patched":["3.1.21"],"from":["GHSA-2pmx-6mm6-6v72"],"provenance":"source"}],"summary":{"text":"Smarty, the PHP template engine, contains a flaw in its secure mode restrictions that is present in versions before 3.1.21. An attacker who can supply or influence template content can bypass those restrictions and execute arbitrary PHP code, for example by embedding a \"script language=php\" block wrapped in literal tags.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:50Z"},"euvd":{"id":"EUVD-2022-2026","exploited":false,"provenance":"source"}}