twigphp/twig · Security

Twig security issue where escaping was missing when using null coalesce operator

GHSA ID
GHSA-3xg3-cgvq-2xwr
CVE ID
CVE-2025-24374
Severity
medium
Published
Updated
CVSS
4.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
CVSS v3
4.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Description

When using the ?? operator, output escaping was missing for the expression on the left side of the operator.

CWEs

References