GHSA-3xg3-cgvq-2xwr

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

At a glance

Published
Updated
CVE
CVE-2025-24374
CVSS_V3
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.

Affected packages

PackageVersions
Packagist · twig/twigintroduced 3.16.0, fixed 3.19.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database