Files
Twig/tests/Node
Fabien Potencier ea3f7a2844 Validate macro name in MacroReferenceExpression constructor
The name passed to MacroReferenceExpression is emitted as raw PHP in
compile() via "->{$name}(...)". Callers were expected to validate
the name, but a missing check led to CVE-2026-XXXXX (PHP code injection
via _self / import macro reference): defense-in-depth, validate the
name in the constructor so the class is safe by construction.
2026-05-19 23:42:31 +02:00
..
2025-07-29 10:07:07 +02:00
2025-07-29 10:07:07 +02:00
2026-02-07 09:07:38 +01:00
2026-02-07 09:07:38 +01:00
2025-07-29 10:07:07 +02:00
2025-07-29 10:07:07 +02:00
2025-07-29 10:07:07 +02:00
2025-07-29 10:07:07 +02:00
2026-02-07 09:07:38 +01:00
2026-02-07 09:07:38 +01:00
2026-02-07 09:07:38 +01:00
2025-07-29 10:07:07 +02:00
2025-07-29 10:07:07 +02:00
2026-02-07 09:07:38 +01:00
2025-07-29 10:07:07 +02:00
2025-07-29 10:07:07 +02:00