Access to restricted PHP code by dynamic static class access in smarty
Package
Affected versions
< 3.1.43
>= 4.0.0, < 4.0.3
Patched versions
3.1.43
4.0.3
Description
Published by the National Vulnerability Database
Jan 10, 2022
Reviewed
Jan 10, 2022
Published to the GitHub Advisory Database
Jan 12, 2022
Last updated
Feb 7, 2024
Impact
Template authors could run restricted static php methods.
Patches
Please upgrade to 3.1.40 or higher.
References
See the documentation on Smarty security features on the static_classes access filter.
For more information
If you have any questions or comments about this advisory please open an issue in the Smarty repo
References