{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-24374","id":"CVE-2025-24374","title":"Twig fixes a security issue where escaping was missing when using null coalesce operator (??)","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.","descriptionLong":"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.","published":"2025-01-29T15:22:34.012Z","updated":"2026-10-28T02:30:37.407711744Z","reserved":"2025-01-20T15:18:26.992Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["twigphp Twig"],"affectedProducts":[{"vendor":"twigphp","product":"Twig","defaultStatus":null,"versions":[{"version":">= 3.16.0, < 3.19.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"twig/twig","purl":"pkg:composer/twig/twig","ranges":[">=3.16.0 <3.19.0"],"fixed":["3.19.0"],"advisory":"GHSA-3xg3-cgvq-2xwr"}],"cwes":["CWE-74"],"aliases":["GHSA-3xg3-cgvq-2xwr"],"references":[{"url":"https://github.com/twigphp/Twig/security/advisories/GHSA-3xg3-cgvq-2xwr","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/twigphp/Twig/commit/38576b12f05df3cc871bf68f39ccb46b418334a3","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/24xxx/CVE-2025-24374.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24374","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2025-24374.yaml","tags":["web"]},{"url":"https://github.com/twigphp/Twig","tags":["package"]},{"url":"https://symfony.com/blog/twig-cve-2025-24374-missing-output-escaping-for-the-null-coalesce-operator","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00298,"epssPercentile":0.22855,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-24374","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24374","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-24374","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3xg3-cgvq-2xwr","ok":true,"note":"GHSA-3xg3-cgvq-2xwr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-24374","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}