🚨 [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/4
version bump
Merge pull request from GHSA-4rmg-292m-wg3w
fixed sample output of section in the docs and added this example as a unit test
Add test for getTemplateVars returning array of values
fixed changelog
Merge branch 'release/4.5.2' into support/4
version bump
Throw deprecation notice about unregistered functions without changing the compilation flow (#985)
Merge branch 'release/4.5.1' into support/4
version bump
fix branch name in release script
Merge branch 'release/4.5.0' into support/4
version bump
Using unsupported PHP functions and unregistered static class methods in modifiers and expressions now triggers a deprecation notice
New unit test for function scope
auto-delete changelog files
changelog update
Merge branch 'release/4.4.1' into support/4.3
version bump
changelog
Updated release tooling
Add some guidance on upgrading from v3 to v4
Prevent deprecation notices for implode, json_encode and substr modifiers
Fix incorrect compilation of expressions when escape_html=true (#932)
Update php version number in docs
Add PHP8.3 support for Smarty 4.3. (#927)
Add unit tests to clarify current behavior
Merge branch 'release/4.3.4' into support/4.3
version bump
Merge branch 'release/4.3.3' into support/4.3
version bump
Fix release-script to user support-branch
version bump
Fix 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 bump
muteUndefinedOrNullWarnings() now also mutes PHP8 warnings for undefined properties (#891)
Remove `md5` modifier from debug.tpl (#871)
Merge branch 'release/4.3.1'
version bump
Merge branch 'js_escape_security_fix'
Add changelog
Upgrade actions/checkout and actions/cache (#870)
Changelog
Implement fix and tests
Update SECURITY.md with correct version info.
Add missing dirs
CompileCheck test and extra note on how it works in docs
Some additional unit tests
Finished improving designers docs
Improved another chunk of the designers docs
WIP improving the docs
fixes to docs
multiversion mkdocs config
Fix 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 2023
Added variable scope test for multi-level extends resource
Allow dereferencing of non-objects accross all supported PHP versions (#832)
Simplify test running to support all phpunit cmdline options
Treat 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