Security Resilience

CVE-2024-5431

Themewinter Wpcafe ≤ 2.2.26

Published
25 June 2024
Modified
08 April 2026
Patch / advisory
CVSS Score v3.1 8.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0059 49th percentile
Risk Priority 67 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-5431 is a high-severity PHP Remote File Inclusion (CWE-98) vulnerability in Themewinter Wpcafe. Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 49th 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 SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

The WPCafe – Online Food Ordering, Restaurant Menu, Delivery, and Reservations for WooCommerce plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 2.2.25 via the reservation_extra_field shortcode parameter. This makes it possible for…

more

authenticated attackers, with Contributor-level access and above, to include remote files on the server, potentially resulting in code execution

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1056.003 Web Portal Capture Collection
Adversaries may install code on externally facing portals, such as a VPN login page, to capture and transmit credentials of users who attempt to log into the service.
T1505.003 Web Shell Persistence
Adversaries may backdoor web servers with web shells to establish persistent access to systems.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-37513Same product: Themewinter Wpcafe
CVE-2024-43135Same product: Themewinter Wpcafe
CVE-2024-1855Same product: Themewinter Wpcafe
CVE-2024-5427Same product: Themewinter Wpcafe
CVE-2023-47805Same product: Themewinter Wpcafe
CVE-2025-39584Same vendor: Themewinter
CVE-2025-26964Same vendor: Themewinter
CVE-2025-22305Shared CWE-98
CVE-2025-60201Shared CWE-98
CVE-2026-27381Shared CWE-98

Affected Assets

themewinter
wpcafe
≤ 2.2.26

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and static analysis can discover missing filename restrictions before deployment.

Validating all inputs before they reach include/require statements directly stops untrusted filenames from being used.

Enforcing access authorizations on resources limits what an included file can reach even if a bad name is supplied.

Information-flow rules can block the loading of external or unauthorized files into the PHP process.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices such as input validation and allow-listing of include paths directly prevent the weakness.

PR.PS-01 partial match
blocks

Hardened runtime configuration (e.g., allow_url_include=off) directly blocks RFI even if code is flawed.

PR.PS-05 partial match
blocks

Execution restrictions can prevent the remote payload from running, while eliminating the weakness reduces the need for such controls.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect RFI but does not prevent the weakness by itself.

blocks

Network segregation can block the remote file inclusion vector by preventing the web server from making outbound connections to attacker-controlled hosts, but it does not block local file inclusion (which uses files already on the server) and leaves the underlying code defect intact.

prevents

Secure coding standards directly require whitelisting and sanitization of filenames used in include/require statements.

prevents

A.8.30 carries its effect through the secure-development practices (8.25–8.29) its contract requires of the supplier, so a faithfully implemented clause reduces ordinary software implementation defects like improper input handling in PHP include/require statements, but the effect is mediated by the supplier's practice and is bounded by the same ceiling the owner set on A.8.30 vs CWE-134.

blocks

A.8.7 can block known malicious remote sources and detected malware content from being included, but it does not address the underlying filename-control flaw and leaves local file inclusion or unknown remote payloads exploitable.

finds

A.8.8's reach is disclosure-based (published advisories, component inventory) plus penetration testing; CWE-98 is a first-party PHP code defect whose systematic discovery belongs to source-reading testing (A.8.29), so A.8.8 finds it only where it surfaces as a disclosed CVE in a third-party component or is caught by a pen test — a minority of latent instances, parallel to A.8.8 finds CWE-89 = partial.

References