| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-06-24 | 1.2 kB | |
| v5.8.2 source code.tar.gz | 2026-06-24 | 343.8 kB | |
| v5.8.2 source code.zip | 2026-06-24 | 535.5 kB | |
| Totals: 3 Items | 880.5 kB | 2 | |
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 thefile,path_prefix,href/link,widthandheightattributes (it already escapedaltand pass-through attributes), and{html_select_date}castsday_size/month_size/year_sizeto 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 bypassingtrusted_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
- @antman3351 made their first contribution in https://github.com/smarty-php/smarty/pull/1071
Full Changelog: https://github.com/smarty-php/smarty/compare/v5.8.1...v5.8.2