A vulnerability, which was classified as problematic, was found in twigphp Twig up to 3.11.1/3.14.0. This affects the function __toString. The manipulation leads to exposure of resource.

This vulnerability is uniquely identified as CVE-2024-51754. It is possible to initiate the attack remotely. There is no exploit available.

It is recommended to upgrade the affected component.