CVE-2026-46635
Beschrijving NL
Twig is een sjabloontaal voor PHP. Voorafgaand aan 3.26.0 geeft het kolomfilter objectarrays door aan PHP array_column(), die openbare en magische eigenschappen leest zonder CoreExtension::getAttribute() of SandboxExtension:: checkPropertyAllowed () te bereiken, waardoor een niet-vertrouwde sjabloonauteur met kolom in allowedFilters eigenschappen kan lezen die niet in de sandbox-toelatingslijst staan. Dit probleem is opgelost in versie 3.26.0.
Origineel (Engels) tonen
Twig is a template language for PHP. Prior to 3.26.0, the column filter passes object arrays to PHP array_column(), which reads public and magic properties without reaching CoreExtension::getAttribute() or SandboxExtension::checkPropertyAllowed(), allowing an untrusted template author with column in allowedFilters to read properties that are not in the sandbox allowlist. This issue is fixed in version 3.26.0.