WP Recipe Maker Plugin Arbitrary Shortcode Execution Vulnerability
Worried this affects your website?
The WP Recipe Maker plugin for WordPress is vulnerable to Arbitrary Shortcode Execution in all versions up to and including 10.8.1.
The bug is in WPRM_Metadata::sanitize_metadata(), which recursively calls do_shortcode() on every scalar field of the recipe's structured metadata array, including the reviewBody field, without sanitizing or stripping shortcode tokens first. The later wp_strip_all_tags() and strip_shortcodes() calls only act on the output after execution has already happened, so they provide no protection.
Unauthenticated attackers can execute arbitrary registered WordPress shortcodes server-side on every recipe page render. Shortcode output such as attachment captions, private post fields, or other data exposed by installed shortcodes can be embedded in the page's JSON-LD reviewBody metadata and disclosed to all visitors who load the recipe page.
- Affected versions: all versions up to and including 10.8.1.
- Attack vector: unauthenticated attackers submit a rated wprm-comment-rating comment, and its comment_content becomes the reviewBody value.
- Precondition: the comment must pass the site's approval threshold, either via auto-approval or moderator action.
Reference: CVE-2026-89274 on NVD
← Back to Security News