- Sandbox: the callable on the right side of the pipe operator
|>goes through the policy, so on PHP 8.5+ a sandboxed template can no longer call any function or method (GHSA-9hh3-mgwh-gpj4, reported by NitroHex Security) - Sandbox: superglobals such as
$_SERVER,$_ENV,$_COOKIEor$_SESSIONare forbidden, so a sandboxed template can no longer read secrets or write session data; a template using them now reports a security violation (GHSA-7395-733q-q47j, reported by NitroHex Security) - Sandbox: a template compiled under a more permissive
SecurityPolicyis no longer reused from the cache under a stricter one - Templates compiled by an older Latte are recompiled after an upgrade also with
autoRefreshoff, so fixes of the compiler, such as those above, take effect without clearing the cache