CVE-2017-1000480
CRITICAL 9.8CVSS 3.0Smarty PHP code injection
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.
- Published
- 3 Jan 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-9m49-vhwv-422g
- Sources
- NVDJSONOSV GHSA-9m49-vhwv-422gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | smarty | smartycpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.1.32 | 3.1.32 |
| OSV | Packagist | smarty/smarty | >= 3, < 3.1.32 | 3.1.32 |
References
- https://github.com/smarty-php/smarty/blob/master/change_log.txt · Release Notes, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2018/01/msg00023.html · WEB
- https://lists.debian.org/debian-lts-announce/2018/02/msg00000.html · WEB
- https://www.debian.org/security/2018/dsa-4094 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000480 · ADVISORY
- https://github.com/smarty-php/smarty · PACKAGE
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 3 Jan 2018)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 May 2022)