Vulnerability in Twigphp Twig

CVE-2024-51754

Twig is a template language for PHP. In a sandbox, an attacker can call `__toString()` on an object even if the `__toString()` method is not allowed by the security policy when the object is part of an array or an argument list (arguments…

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

CVSS v3 metric

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

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-51754?
CVE-2024-51754 is a low-severity vulnerability in Twigphp Twig, classified under Exposure of Resource to Wrong Sphere. CVSS score: 2.2/10. Published 2024-11-06.
How severe is CVE-2024-51754?
Low severity. CVSS v3 base score is 2.2 out of 10.
Is CVE-2024-51754 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.