This repository was archived by the owner on Aug 26, 2025. It is now read-only.
🚨 [security] [php - developer] Update smarty/smarty 4.3.0 → 4.5.3 (minor) #577
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ smarty/smarty (4.3.0 → 4.5.3) · Repo · Changelog
Security Advisories 🚨
🚨 Smarty vulnerable to PHP Code Injection by malicious attribute in extends-tag
🚨 smarty Cross-site Scripting vulnerability in Javascript escaping
Release Notes
4.5.2
4.4.1
4.4.0
4.3.2
4.3.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 65 commits:
Merge branch 'release/4.5.3' into support/4version bumpMerge pull request from GHSA-4rmg-292m-wg3wfixed sample output of section in the docs and added this example as a unit testAdd test for getTemplateVars returning array of valuesfixed changelogMerge branch 'release/4.5.2' into support/4version bumpThrow deprecation notice about unregistered functions without changing the compilation flow (#985)Merge branch 'release/4.5.1' into support/4version bumpfix branch name in release scriptMerge branch 'release/4.5.0' into support/4version bumpUsing unsupported PHP functions and unregistered static class methods in modifiers and expressions now triggers a deprecation noticeNew unit test for function scopeauto-delete changelog fileschangelog updateMerge branch 'release/4.4.1' into support/4.3version bumpchangelogUpdated release toolingAdd some guidance on upgrading from v3 to v4Prevent deprecation notices for implode, json_encode and substr modifiersFix incorrect compilation of expressions when escape_html=true (#932)Update php version number in docsAdd PHP8.3 support for Smarty 4.3. (#927)Add unit tests to clarify current behaviorMerge branch 'release/4.3.4' into support/4.3version bumpMerge branch 'release/4.3.3' into support/4.3version bumpFix release-script to user support-branchversion bumpFix use of negative numbers in math equations. (#904)Fix phpdoc.Fix strip_tags modifier for falsy input. (#893)Merge branch 'release/4.3.2'version bumpmuteUndefinedOrNullWarnings() now also mutes PHP8 warnings for undefined properties (#891)Remove `md5` modifier from debug.tpl (#871)Merge branch 'release/4.3.1'version bumpMerge branch 'js_escape_security_fix'Add changelogUpgrade actions/checkout and actions/cache (#870)ChangelogImplement fix and testsUpdate SECURITY.md with correct version info.Add missing dirsCompileCheck test and extra note on how it works in docsSome additional unit testsFinished improving designers docsImproved another chunk of the designers docsWIP improving the docsfixes to docsmultiversion mkdocs configFix error in docs on prepend/append. Fixes #818.PHP 8.1 deprecation warnings on null strings in modifiers (#834)Fix unit tests that broke because now is now in 2023Added variable scope test for multi-level extends resourceAllow dereferencing of non-objects accross all supported PHP versions (#832)Simplify test running to support all phpunit cmdline optionsTreat undefined vars and array access of a null or false variables equivalent across all supported PHP versions (#830)Also mute php7 notices for undefined array indexes when muteUndefinedOrNullWarnings is activated. (#829)Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.All Depfu comment commands