The Daily Commit · Section Edition Front Page PHP AI Dev EN DE FR ES

The Php Times

Security — Ecosystem

Smarty PHP fixes a cache-dependent route to remote code execution


Smarty PHP releases before 4.5.8 and 5.8.5 can escalate a template injection issue from cross-site scripting to remote code execution under specific conditions.

R/PHP (TOP), October 5, 2026 curated by Sönke

The attacker must control an unescaped rendered value. The template must use {extends}, and rendered-template caching must be enabled. The cache option is disabled by default. Updating to a fixed release removes the issue.

Read the original source ↗

Rate this article: 0

Readers’ Forum

No contributions yet — open the debate.

← Ecosystem — Page B1

"All the Code That's Fit to Ship" · The Daily Commit · Screen edition · Imprint · Privacy Policy