Live threats

All CVEs / Smarty

CVE-2017-1000480Smarty

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
3.1%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Jan 3, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Smarty.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist smarty/smarty ≥ 3 < 3.1.32 3.1.32 composer require "smarty/smarty:^3.1.32"

Per OSV / GitHub Advisories (GHSA-9m49-vhwv-422g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
smartysmarty≥ 3.0.0 < 3.1.32

Official sources

References

Links published by the sources. Open them with care.