ghsa-3xg3-cgvq-2xwr
Vulnerability from github
Published
2025-01-29 18:41
Modified
2025-01-30 15:33
Severity ?
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.
{ "affected": [ { "package": { "ecosystem": "Packagist", "name": "twig/twig" }, "ranges": [ { "events": [ { "introduced": "3.16.0" }, { "fixed": "3.19.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2025-24374" ], "database_specific": { "cwe_ids": [ "CWE-74" ], "github_reviewed": true, "github_reviewed_at": "2025-01-29T18:41:43Z", "nvd_published_at": "2025-01-29T16:15:44Z", "severity": "MODERATE" }, "details": "When using the `??` operator, output escaping was missing for the expression on the left side of the operator.\n", "id": "GHSA-3xg3-cgvq-2xwr", "modified": "2025-01-30T15:33:25Z", "published": "2025-01-29T18:41:43Z", "references": [ { "type": "WEB", "url": "https://github.com/twigphp/Twig/security/advisories/GHSA-3xg3-cgvq-2xwr" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-24374" }, { "type": "WEB", "url": "https://github.com/twigphp/Twig/commit/38576b12f05df3cc871bf68f39ccb46b418334a3" }, { "type": "WEB", "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2025-24374.yaml" }, { "type": "PACKAGE", "url": "https://github.com/twigphp/Twig" }, { "type": "WEB", "url": "https://symfony.com/blog/twig-cve-2025-24374-missing-output-escaping-for-the-null-coalesce-operator" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", "type": "CVSS_V3" } ], "summary": "Twig security issue where escaping was missing when using null coalesce operator" }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.