smarty/smarty is vulnerable to Remote Code Execution (RCE)
81
CVE Score
High
Remote Code Execution (RCE)
removeNoCacheHash() rebuilds the nocache-marker split from the top-level nocache_hash, which {extends} inheritance never restores. Assigned output can therefore be copied verbatim into the generated PHP cache file and run when that cache is included. The fix ignores an empty nocache hash and treats forged markers as ordinary output.
Upgrade the smarty/smarty library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and templates are rendered through {extends} inheritance with untrusted assigned data.
3.0.0 - 4.5.7
Fixed in 4.5.85.0.0 - 5.8.4
Fixed in 5.8.5smarty/smarty is vulnerable to Remote Code Execution (RCE) in versions 3.0.0 - 4.5.7 and 5.0.0 - 5.8.4.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.