Advisory

GHSA-3xg3-cgvq-2xwr

Also known as: CVE-2025-24374

Summary

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

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-01-29 18:41 UTC
Modified
2025-01-30 15:36 UTC

Affected packages and fixes

twig/twig

Packagist · All systems

Affected

  • introduced 3.16.0, fixed 3.19.0 (ecosystem)

Fixed versions

3.19.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences