smarty/smarty vulnerabilities
Smarty - the compiling PHP template engine
- Registry
- Composer
- Latest
- 5.8.5
- License
- LGPL-3.0
18 known advisories
The latest version, 5.8.5, is not affected by any of them. Projects on older versions may be.
composer require smarty/smarty:^5.8.5Is your project on an affected smarty/smarty?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for smarty/smarty
Smarty: SSRF via redirect bypass of trusted_uri using {fetch}
- Affected
- >=5.0.0 <5.8.2 · <4.5.7
- Fixed in
- 4.5.7, 5.8.2
Smarty Security stream restriction bypass through stream: resource
- Affected
- >=5.0.0 <5.8.4
- Fixed in
- 5.8.4
Smarty: Symlink path traversal out of trusted directories
- Affected
- >=5.0.0 <5.8.2 · <4.5.7
- Fixed in
- 4.5.7, 5.8.2
Smarty vulnerable to PHP Code Injection by malicious attribute in extends-tag
- Affected
- >=5.0.0 <5.1.1 · >=3.0.0 <4.5.3
- Fixed in
- 4.5.3, 5.1.1
smarty Cross-site Scripting vulnerability in Javascript escaping
- Affected
- >=4.0.0 <4.3.1 · <3.1.48
- Fixed in
- 3.1.48, 4.3.1
Smarty Cross-site Scripting vulnerability in pages that use smarty_function_mailto
- Affected
- <3.1.47 · >=4.0.0 <4.2.1
- Fixed in
- 3.1.47, 4.2.1
PHP Code Injection by malicious block or filename in Smarty
- Affected
- <3.1.45 · >=4.0.0 <4.1.1
- Fixed in
- 3.1.45, 4.1.1
Cross-site Scripting in SmartyException
- Affected
- <3.1.12
- Fixed in
- 3.1.12
Smarty arbitrary PHP code execution
- Affected
- <3.1.21
- Fixed in
- 3.1.21
Smarty PHP code injection
- Affected
- >=3 <3.1.32
- Fixed in
- 3.1.32
Smarty Path Traversal Vulnerability
- Affected
- <3.1.33
- Fixed in
- 3.1.33
Smarty Path Traversal Vulnerability
- Affected
- <3.1.33
- Fixed in
- 3.1.33
Smarty Does Not Consider Umask Values When Setting Permissions
- Affected
- <3.0.0-beta4
- Fixed in
- 3.0.0-beta4
Smarty3 Arbitrary PHP Code Execution
- Affected
- <3.0.7
- Fixed in
- 3.0.7
Access to restricted PHP code by dynamic static class access in smarty
- Affected
- <3.1.43 · >=4.0.0 <4.0.3
- Fixed in
- 3.1.43, 4.0.3
Sandbox Escape by math function in smarty
- Affected
- <3.1.42 · >=4.0.0 <4.0.2
- Fixed in
- 3.1.42, 4.0.2
Sandbox escape through template_object in smarty
- Affected
- <3.1.39
- Fixed in
- 3.1.39
PHP Code Injection by malicious function name in smarty
- Affected
- <3.1.39
- Fixed in
- 3.1.39
Is your smarty/smarty version vulnerable?
- smarty/smarty 5.8No known advisories in 5.8.5
- smarty/smarty 5.73 advisories in 5.7.0
- smarty/smarty 5.63 advisories in 5.6.0
- smarty/smarty 5.53 advisories in 5.5.2
- smarty/smarty 5.43 advisories in 5.4.5
- smarty/smarty 5.33 advisories in 5.3.1
- smarty/smarty 4.5No known advisories in 4.5.8
- smarty/smarty 4.43 advisories in 4.4.1
- smarty/smarty 4.33 advisories in 4.3.5
- smarty/smarty 4.24 advisories in 4.2.1
- smarty/smarty 4.15 advisories in 4.1.1
- smarty/smarty 4.06 advisories in 4.0.4
- smarty/smarty 3.13 advisories in 3.1.48
Which of your client projects still run an old smarty/smarty?
NPMscan reads the composer.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other Composer packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Composer registry.