Security Resilience

CVE-2024-51754

Published
06 November 2024
Modified
15 April 2026
CVSS Score v3.1 2.2
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N
EPSS Score 0.0043 38th percentile
Risk Priority 22 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-51754 is a low-severity Exposure of Resource to Wrong Sphere (CWE-668) vulnerability. Its CVSS base score is 2.2 (Low).

Operationally, ranked at the 38th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

argument list (arguments to a function or a filter for instance). This issue has been patched in versions 3.11.2 and 3.14.1. All users are advised to upgrade. There are no known workarounds for this issue.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-37911Shared CWE-668
CVE-2025-38670Shared CWE-668
CVE-2026-113126Shared CWE-668
CVE-2023-42717Shared CWE-668
CVE-2025-9074Shared CWE-668
CVE-2023-0485Shared CWE-668
CVE-2023-7204Shared CWE-668
CVE-2025-49574Shared CWE-668
CVE-2025-22444Shared CWE-668
CVE-2026-2297Shared CWE-668

Affected Assets

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Access enforcement directly stops resources from being reachable by actors outside the intended control sphere.

Information flow enforcement structurally prevents unintended cross-sphere data or resource exposure.

Least privilege reduces the set of actors that can reach a resource, limiting wrong-sphere exposure.

Security attributes enable correct sphere assignment and subsequent enforcement decisions.

Boundary protection at interfaces prevents resources from being exposed outside authorized spheres.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-668, a class-level weakness. Rules are authored against its narrower children: CWE-427, CWE-552.

References