CVE-2026-89274 Details
Description
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.
A vulnerability allowing arbitrary shortcode execution has been identified in the WP Recipe Maker plugin for WordPress, affecting all versions through 10.8.1. This vulnerability arises from the `WPRM_Metadata::sanitize_metadata()` function, which recursively applies `do_shortcode()` to each scalar field of the recipe's structured metadata. Notably, the `reviewBody` field, sourced directly from the `comment_content` of approved `wprm-comment-rating` comments, is processed without any prior sanitization or removal of shortcode tokens. Although `wp_strip_all_tags()` and `strip_shortcodes()` are called afterward, they only affect the output string post-execution, leaving room for server-side shortcode execution. As a result, unauthenticated attackers can execute arbitrary WordPress shortcodes on the server side during each recipe page render. The output of these shortcodes, which could include attachment captions, private post fields, or other data revealed by active shortcodes, gets embedded in the page's JSON-LD `reviewBody` metadata, accessible to all visitors viewing the recipe page. Exploitation requires the injected shortcode to be included in a comment that has passed the site's approval process, either automatically or through moderation.
Users are advised to update the WP Recipe Maker plugin to version 10.8.2 or a newer patched version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 19, 2026CISA-ADP
Assessed Sep 19, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| WP Recipe Maker | <= 10.8.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 19, 2026 | CVE Modified | CISA-ADP |
| Sep 19, 2026 | New CVE Received | [email protected] |
Volerion