{"id":"GHSA-9m49-vhwv-422g","aliases":["CVE-2017-1000480"],"title":"Smarty PHP code injection","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"CRITICAL","description":"Smarty 3 before 3.1.32 is vulnerable to a PHP code injection when calling fetch() or display() functions on custom resources that does not sanitize template name.","severity":"critical","score":9.8,"published":"2022-05-14T03:46:35.000Z","modified":"2024-04-24T23:11:41.585Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"smarty/smarty","sources":[{"name":"OSV · GHSA-9m49-vhwv-422g","url":"https://osv.dev/vulnerability/GHSA-9m49-vhwv-422g"}],"ranges":[{"events":[{"introduced":"3"},{"fixed":"3.1.32"}],"type":"ECOSYSTEM"}],"versions":["v3.1.11","v3.1.12","v3.1.13","v3.1.14","v3.1.15","v3.1.16","v3.1.17","v3.1.18","v3.1.19","v3.1.20","v3.1.21","v3.1.23","v3.1.24","v3.1.25","v3.1.26","v3.1.27","v3.1.28","v3.1.29","v3.1.30","v3.1.31"],"fixed":["3.1.32"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2017-1000480","https://github.com/smarty-php/smarty","https://github.com/smarty-php/smarty/blob/master/change_log.txt","https://lists.debian.org/debian-lts-announce/2018/01/msg00023.html","https://lists.debian.org/debian-lts-announce/2018/02/msg00000.html","https://www.debian.org/security/2018/dsa-4094"],"sources":[{"name":"OSV","id":"GHSA-9m49-vhwv-422g","modified":"2024-04-24T23:11:41.585135Z","url":"https://osv.dev/vulnerability/GHSA-9m49-vhwv-422g"}],"assessments":[{"source":"OSV","vector":"CVSS:3.0/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-29T01:45:31.656Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}