Twig/twig
9 CVEs tracked. None of them is in CISA KEV.
This hub aggregates every CVE we track for Twig/twig, a product in the oss libraries space. Use it to gauge the current risk picture and drill into individual advisories.
Twig/twig CVEs per month
| Month | CVEs |
|---|---|
| 2024-10 | 0 |
| 2024-11 | 2 |
| 2024-12 | 0 |
| 2025-01 | 1 |
| 2025-02 | 0 |
| 2025-03 | 0 |
| 2025-04 | 0 |
| 2025-05 | 0 |
| 2025-06 | 0 |
| 2025-07 | 0 |
| 2025-08 | 0 |
| 2025-09 | 0 |
| 2025-10 | 0 |
| 2025-11 | 0 |
| 2025-12 | 0 |
| 2026-01 | 0 |
| 2026-02 | 0 |
| 2026-03 | 0 |
| 2026-04 | 0 |
| 2026-05 | 0 |
| 2026-06 | 0 |
| 2026-07 | 0 |
| 2026-08 | 0 |
| 2026-09 | 0 |
Severity
How the 9 CVEs score on CVSS. Severity is not exploitation: KEV is counted above.
- High3
- Medium2
- Low3
Latest CVEs
The 9 most recently published vulnerabilities affecting Twig/twig.
- CVE-2025-24374Twig fixes a security issue where escaping was missing when using null coalesce operator (??)4.3
- CVE-2024-51754Unguarded calls to __toString() when nesting an object into an array in Twig2.2
- CVE-2024-51755Unguarded calls to __isset() and to array-accesses when the sandbox is enabled in Twig2.2
- CVE-2024-45411Twig has a possible sandbox bypass8.5
- GHSA-7cvr-xhm5-x998Twig Path Traversal vulnerability in the filesystem loader—
- CVE-2022-39261Twig may load a template outside a configured directory when using the filesystem loader7.5
- CVE-2022-23614Code injection in Twig8.8
- CVE-2019-9942A sandbox information disclosure exists in Twig before 1.38.0 and 2.x before 2.7.0 because, under some circumstances, it is possible to call the __toString() method on an object even if not allowed...3.7
- CVE-2015-7809The displayBlock function Template.php in Sensio Labs Twig before 1.20.0, when Sandbox mode is enabled, allows remote attackers to execute arbitrary code via the _self variable in a template.6.8
Product grouping is registry-driven, with AI assist and human review. How it works