Shared on Mage Dispatch · 07 Sep 2026
StyleSmuggler LFI/SSTI Hardening: Block Unsafe Includes and Restrict {{block}} Classes
Diff introduces SecurePathValidator to reject stream/writable paths during template rendering, blocks backend/adminhtml blocks in {{block}} directives, and neutralizes PHP tags in error reports. Also tightens DI/setup scanners and grid URL generator type checks to avoid unsafe class/path resolution.