Arbitrary Code Injection Affecting php-twig package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-PHPTWIG-8674850
  • published30 Jan 2025
  • disclosed29 Jan 2025

Introduced: 29 Jan 2025

NewCVE-2025-24374  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

There is no fixed version for Debian:11 php-twig.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-twig package and not the php-twig package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

Twig is a template language for PHP. When using the ?? operator, output escaping was missing for the expression on the left side of the operator. This vulnerability is fixed in 3.19.0.