CVE-2025-24374

medium

Description

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.

References

https://github.com/twigphp/Twig/security/advisories/GHSA-3xg3-cgvq-2xwr

https://github.com/twigphp/Twig/commit/38576b12f05df3cc871bf68f39ccb46b418334a3

Details

Source: Mitre, NVD

Published: 2025-01-29

Updated: 2025-01-29

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 4.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Severity: Medium