Skip to content

Releases: smarty-php/smarty

v5.8.4

Choose a tag to compare

@wisskid wisskid released this 29 Jun 10:47
Release 5.8.4

v4.5.7

Choose a tag to compare

@wisskid wisskid released this 29 Jun 08:49

What's Changed

  • Port security fixes from v5.8.2 to Smarty v4. by @wisskid in #1194

Full Changelog: v4.5.6...v4.5.7

v5.8.3

Choose a tag to compare

@wisskid wisskid released this 29 Jun 07:16

What's Changed

Full Changelog: v5.8.2...v5.8.3

v5.8.2

Choose a tag to compare

@wisskid wisskid released this 24 Jun 08:06

What's Changed

  • Security: prevent symlinks inside a trusted secure_dir/template directory from being used to read files outside of it (CWE-22 path traversal), affecting {include} and {fetch} of local files
  • Security: {html_image} now escapes the file, path_prefix, href/link, width and height attributes (it already escaped alt and pass-through attributes), and {html_select_date} casts day_size/month_size/year_size to int (matching {html_select_time}), preventing untrusted values passed into these attributes from breaking out of the generated HTML (CWE-79)
  • Security: {fetch} no longer follows HTTP redirects for remote resources while a security policy is active, preventing an open redirect on a trusted host from bypassing trusted_uri (CWE-918 server-side request forgery)
  • Fixed "Attempt to assign property step on null" error when using a {for} loop inside a block of an extended template #1036

New Contributors

Full Changelog: v5.8.1...v5.8.2

v5.8.1

Choose a tag to compare

@wisskid wisskid released this 23 Jun 21:05

What's Changed

Internal changes

  • Redirect test temp dirs to system temp directory. Fixes #1178 by @wisskid in #1179
  • fix: correct return type in retrieveCachedContent docblock by @zigzagdev in #1180

New Contributors

Full Changelog: v5.8.0...v5.8.1

v5.8.0

Choose a tag to compare

@wisskid wisskid released this 15 Feb 14:27

What's Changed

Full Changelog: v5.7.0...v5.8.0

v5.7.0

Choose a tag to compare

@wisskid wisskid released this 19 Nov 21:37

What's Changed

Full Changelog: v5.6.0...v5.7.0

v5.6.0

Choose a tag to compare

@wisskid wisskid released this 03 Oct 21:23

What's Changed

Full Changelog: v5.5.2...v5.6.0

v5.5.2

Choose a tag to compare

@wisskid wisskid released this 26 Aug 08:42
  • Fixed escaping of array/object keys in debug_print_var

Full Changelog: v5.5.1...v5.5.2

v4.5.6

Choose a tag to compare

@wisskid wisskid released this 26 Aug 08:42

What's Changed

  • Bugfix/1100 modifier called like a function compiled to modifier name not callback by @wisskid in #1101
  • add missing closing tr tag by @shadowwa in #1117
  • add count and debug_print_var modifier doc by @shadowwa in #1116
  • Replace SMARTY_VERSION constant with $smarty.version in debug.tpl #1073
  • Fixed escaping of array/object keys in debug_print_var

Full Changelog: v4.5.5...v4.5.6