Vulnerability in Twigphp Twig

CVE-2024-45411

Twig is a template language for PHP. Under some circumstances, the sandbox security checks are not run which allows user-contributed templates to bypass the sandbox restrictions. This vulnerability is fixed in 1.44.8, 2.16.1, and 3.14.0.

EPSS: 0.001 (34.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.6 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H.

Affected products

  • Twigphp Twig — versions > 1.0.0, < 1.44.8, > 2.0.0, < 2.16.1, > 3.0.0, < 3.14.0

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-45411?
CVE-2024-45411 is a high-severity vulnerability in Twigphp Twig, classified under Protection Mechanism Failure. CVSS score: 8.6/10. Published 2024-09-09.
How severe is CVE-2024-45411?
High severity. CVSS v3 base score is 8.6 out of 10.
Is CVE-2024-45411 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.