cvedb.io
CVE-2022-23614
HIGH · CVSS 8.8
EPSS exploitation probability: 0%
Published 2022-02-04T23:15:15.727 · Last modified 2026-06-17T04:30:29.140

Summary

Twig is an open source template language for PHP. When in a sandbox mode, the `arrow` parameter of the `sort` filter must be a closure to avoid attackers being able to run arbitrary PHP functions. In affected versions this constraint was not properly enforced and could lead to code injection of arbitrary PHP code. Patched versions now disallow calling non Closure in the `sort` filter as is the case for some other filters. Users are advised to upgrade.

Affected products

symfony — twig

Does this affect you?

Add your gear to cvedb and we'll alert you only when symfony ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.