WP Recipe Maker <= 10.8.1 - Unauthenticated Arbitrary Shortcode Execution via Recipe Comment Content
Strategic Overview
- Status
- Patched in 10.8.2
- Affected Plugin
- WP Recipe Maker
- Affected Version
<= 10.8.1- CVSS
- 9.1Critical
- Weakness type
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
- CVE
CVE-2026-89274
At a glance
CVE-2026-89274 is a critical-severity Improper Control of Generation of Code ('Code Injection') vulnerability in the WP Recipe Maker WordPress plugin, affecting versions <= 10.8.1. It carries a CVSS score of 9.1 (reachable over the network; low attack complexity; high confidentiality, integrity impact). Exploitation requires no authentication. The issue is fixed in version 10.8.2; sites on affected versions should update now. Disclosed September 2026, reported by Md. Moniruzzaman Prodhan (NomanProdhan).
Vulnerability Overview
The WP Recipe Maker plugin for WordPress is vulnerable to Arbitrary Shortcode Execution in all versions up to, and including, 10.8.1. The vulnerability exists because `WPRM_Metadata::sanitize_metadata()` recursively calls `do_shortcode()` on every scalar field of the recipe's structured metadata array — including the `reviewBody` field, which is populated verbatim from the `comment_content` of approved `wprm-comment-rating` comments — without sanitizing or stripping shortcode tokens before execution; the subsequent `wp_strip_all_tags()` and `strip_shortcodes()` calls operate only on the output string after execution has already fully occurred, providing no protection against server-side shortcode invocation. This makes it possible for unauthenticated attackers to execute arbitrary registered WordPress shortcodes server-side on every recipe page render, causing shortcode output — such as attachment captions, private post fields, or other data exposed by installed shortcodes — to be embedded in the page's JSON-LD `reviewBody` metadata and disclosed to all visitors who load the recipe page. Successful exploitation requires the attacker's rated comment to pass the site's comment approval threshold, either via auto-approval or moderator action, before the injected shortcode begins executing on page loads.
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 privileges on the target site, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity.
CWE-94: Improper Control of Generation of Code ('Code Injection')
WP Recipe Maker <= 10.8.1 carries this weakness at sanitize_metadata(), and reaching it takes no account at all. Code injection means input from a request reaches a language construct that evaluates code, so the attacker's text is executed rather than treated as data.
The injected code runs with the web server's privileges, giving the attacker the same access to the database and filesystem as WordPress itself. For WP Recipe Maker the fix is 10.8.2: builds <= 10.8.1 are affected, anything from 10.8.2 onward is not.
Remediation
Update to version 10.8.2, or a newer patched version
How does WordSec protect against this?
Requests carrying this pattern arrive without a session, so nothing upstream of the firewall gets a chance to reject them: WordSec's web application firewall inspects request payloads before WordPress loads them. Classes like this one can leave something behind, so the staged malware scanner is the second half: it looks for dropped files and modified code rather than for the request that created them. None of that substitutes for the fix: WP Recipe Maker 10.8.2 closes this, and updating the plugin is the step that ends it.
- Firewall
- Scanner
- Login Security
External References
Related records
Same weakness class
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