{"id":"GHSA-6frx-2r5w-c524","aliases":["CVE-2011-1028"],"title":"Smarty3 Arbitrary PHP Code Execution","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"CRITICAL","description":"The `$smarty.template` variable in Smarty3 allows attackers to possibly execute arbitrary PHP code via the `sysplugins/smarty_internal_compile_private_special_variable.php` file.","severity":"critical","score":9.8,"published":"2022-04-22T00:24:15.000Z","modified":"2024-02-16T08:21:02.337Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"smarty/smarty","sources":[{"name":"OSV · GHSA-6frx-2r5w-c524","url":"https://osv.dev/vulnerability/GHSA-6frx-2r5w-c524"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"3.0.7"}],"type":"ECOSYSTEM"}],"versions":["v2.6.24","v2.6.25","v2.6.26","v2.6.27","v2.6.28","v2.6.29","v2.6.30","v2.6.31","v2.6.33"],"fixed":["3.0.7"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2011-1028","https://github.com/smarty-php/smarty/commit/0154f17de2b2dd16ff9c016923015ac19af9c0cb","https://github.com/smarty-php/smarty","https://seclists.org/oss-sec/2011/q1/313","https://security-tracker.debian.org/tracker/CVE-2011-1028","https://web.archive.org/web/20110609032516/http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt","https://www.smarty.net/forums/viewtopic.php?t=18815"],"sources":[{"name":"OSV","id":"GHSA-6frx-2r5w-c524","modified":"2024-02-16T08:21:02.337201Z","url":"https://osv.dev/vulnerability/GHSA-6frx-2r5w-c524"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-29T02:25:31.980Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}