GHSA-5mv2-rx3q-4w2v · Severity: high · Ecosystem: composer — Code injection in Twig
Twig is an open source template language for PHP. When in a sandbox mode, the `arrow` parameter of the `sort` filter must be a closure to avoid attackers being able to run arbitrary PHP functions. In affected versions this constraint was not properly enforced and could lead to code injection of arbitrary PHP code. Patched versions now disallow calling non Closure in the `sort` filter as is the case for some other filters. Users are advised to upgrade.
Conclusion & alert: CVE-2022-23614 is rated Moderate Risk (63.7/100): CVSS High severity, with high exploitation likelihood (EPSS 21.15%, 96th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-01 | 27.83% | 21.15% | -6.68% |
| 2 | 2026-03-24 | 36.58% | 27.83% | -8.75% |
| 3 | 2026-03-15 | — | 36.58% | — |
Full EPSS history (41 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 7.5 | 2.0 | HIGH |
|
10.0 | 6.4 | [email protected] |
GHSA-5mv2-rx3q-4w2v · Severity: high · Ecosystem: composer — Code injection in Twig
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2022-23614 not yet assigned priority: Debian including 1 source packages (php-twig), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2022-23614 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2022-23614 |
ubuntu
|
medium | CVE-2022-23614 medium priority: Ubuntu including 2 source packages (php-twig, twig), 16 status rows across 12 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, trusty, upstream, xenial): not-affected 9, ignored 3, released 3, DNE 1. | https://ubuntu.com/security/CVE-2022-23614 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| symfony | twig | >= 2.0.0, < 2.14.11 | cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:* |
| symfony | twig | >= 3.0.0, < 3.3.8 | cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:* |
| fedoraproject | fedora | 34 | cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
| fedoraproject | fedora | 35 | cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
| debian | debian_linux | 11.0 | cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |