Strategic Overview
- Status
- Patched in 9.1.1
- Affected Plugin
- WP Recipe Maker
- Affected Version
<= 9.1.0- CVSS
- 5.4Medium
- Weakness type
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CVE
CVE-2024-0380
At a glance
CVE-2024-0380 is a medium-severity Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in the WP Recipe Maker WordPress plugin, affecting versions <= 9.1.0. It carries a CVSS score of 5.4 (reachable over the network; low attack complexity). The issue is fixed in version 9.1.1; sites on affected versions should update now. Disclosed January 2024, reported by wesley (wcraft).
Vulnerability Overview
The WP Recipe Maker plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 9.1.0 via the 'icon' attribute used in Shortcodes. This makes it possible for authenticated attackers, with contributor-level access and above, to include the contents of SVG files on the server, which can be leveraged for Cross-Site Scripting.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
WP Recipe Maker <= 9.1.0 carries this weakness at icon, and reaching it takes a caller who can reach the endpoint. Path traversal happens when user-controlled text is used to build a filesystem path without being constrained to an intended directory, so sequences like ../ walk the resolved path somewhere else.
Depending on the operation, it means reading files outside the intended folder — wp-config.php being the usual target — or writing to and deleting paths the web server can touch. For WP Recipe Maker the fix is 9.1.1: builds <= 9.1.0 are affected, anything from 9.1.1 onward is not.
Remediation
Update to version 9.1.1, or a newer patched version
How does WordSec protect against this?
The attempt arrives as an ordinary request to WP Recipe Maker: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: WP Recipe Maker 9.1.1 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Other vulnerabilities in WP Recipe Maker
- 8.8CVE-2024-1206: WP Recipe… Authenticated (Subscriber+) SQL Injecton
CVE-2024-1206 - 6.5CVE-2024-9650: WP Recipe Maker <= 9.6.1 DOM-Based Stored XSS
CVE-2024-9650 - 6.4CVE-2025-14385: WP Recipe Maker <= 10.2.3 Stored Cross-Site Scripting
CVE-2025-14385 - 6.4CVE-2025-1503: WP Recipe Maker <= 9.8.0 Stored Cross-Site Scripting
CVE-2025-1503 - 6.4CVE-2024-0383: WP Recipe Maker <= 9.1.0 Stored Cross-Site Scripting
CVE-2024-0383 - 6.4CVE-2024-3490: WP Recipe Maker <= 9.3.1 Stored Cross-Site Scripting
CVE-2024-3490 - 6.4CVE-2024-0382: WP Recipe Maker <= 9.1.0 Stored Cross-Site Scripting
CVE-2024-0382 - 6.4CVE-2024-0255: WP Recipe Maker <= 9.1.0 Stored Cross-Site Scripting
CVE-2024-0255
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C