Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit rated comment with shortcode payload
-
DeliveryComment passes approval threshold
-
Exploitdo_shortcode() runs reviewBody server-side
-
ExecutionShortcode output embedded in JSON-LD
-
ImpactSensitive data disclosed to visitors
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target site to use WP Recipe Maker (≤10.8.1) rendering recipe pages with JSON-LD structured metadata, and the site must accept wprm-comment-rating comments. The attacker's rated comment containing shortcode tokens must pass the site's comment-approval threshold - either the site is configured to auto-approve comments (e.g., for returning/previously-approved commenters) or a moderator manually approves it - before do_shortcode() begins executing on page loads. Meaningful data disclosure additionally depends on the presence of installed shortcodes that expose sensitive content (private post fields, attachment captions, etc.); a site with only benign registered shortcodes yields limited impact. The moderation gate is the primary limiting factor: sites that hold all new comments for manual review substantially reduce automatic exploitability. |
| Impact | The vendor CVSS of 9.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N) presents this as a critical unauthenticated network flaw, but that severity is inflated relative to the actual mechanism. This is server-side execution of *registered WordPress shortcodes* embedded in a comment, not arbitrary PHP/OS code execution - so the 'RCE' framing overstates it. Real impact is confidentiality-centric: shortcode output (attachment captions, private post fields, or data any installed shortcode exposes) is leaked into JSON-LD reviewBody metadata and shown to all visitors. Integrity impact (I:H in vendor vector) is marginal - only realized if an installed shortcode itself performs state-changing actions - and there is no availability impact (A:N, consistent). AC:L is optimistic: the description explicitly requires the attacker's rated comment to clear the site's comment-approval threshold (auto-approval or moderator action) before execution begins, which is a real gating condition outside the attacker's control on most sites that moderate first-time commenters. No EPSS score, no CISA KEV listing, and no public exploit code are present in the provided intelligence - no public exploit identified at time of analysis. Net: a genuine unauthenticated information-disclosure issue in a widely-installed plugin worth patching, but the effective severity depends heavily on the comment-moderation configuration and on which shortcodes leak sensitive data, making it lower real-world priority than the 9.1 headline suggests. |
| Exploit ScenarioDerived | An unauthenticated attacker submits a recipe rating comment (wprm-comment-rating) whose comment_content contains a shortcode token such as a shortcode that renders a private post field or attachment metadata. Once the comment is approved via auto-approval or a moderator, WPRM_Metadata::sanitize_metadata() calls do_shortcode() on the reviewBody field on every recipe page render, and the resulting shortcode output is disclosed in the page's JSON-LD to all visitors. No public exploit code is identified at this time. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 19, 2026
Shortcode injection in the WP Recipe Maker plugin for WordPress (all versions up to and including 10.8.1) lets an attacker plant arbitrary registered shortcode tokens inside the content of an approved wprm-comment-rating comment, which the plugin later feeds through do_shortcode() during recipe metadata generation and reflects into the JSON-LD reviewBody field served on every recipe page render. Because execution occurs before the plugin's strip_shortcodes()/wp_strip_all_tags() cleanup runs on the resulting string, output from sensitive shortcodes (attachment captions, private post fields, other data exposed by installed shortcodes) can be disclosed to any visitor loading the affected page. The CVSS vector records PR:N, so the injection itself is unauthenticated, but practical exploitation is gated by the site's comment-approval threshold and by whether installed shortcodes actually expose sensitive content; the vendor score of 9.1 is assessed as inflated relative to an AC:H/I:L reality, and no public exploit code has been identified at time of analysis.
RemediationAI
Upstream fix available (changeset); released patched version not independently confirmed - the vendor repository changeset at https://plugins.trac.wordpress.org/changeset?reponame=&old=3699793%40wp-recipe-maker&new=3699793%40wp-recipe-maker is the authoritative fix pointer, so upgrade WP Recipe Maker beyond 10.8.1 to the first release that contains it and verify the plugin no longer passes reviewBody (or any comment-derived metadata) through do_shortcode() before sanitization. Until that upgrade is deployed, the highest-value compensating control is eliminating the moderation gap: configure WordPress to hold all new comments for manual review (Settings → Discussion → 'Comment must be manually approved') and audit existing approved wprm-comment-rating comments for shortcode tokens such as bracketed shortcode names in their body - the trade-off is delayed visitor feedback on recipe ratings. If comment ratings are not essential, disable the wprm-comment-rating comment type / rating feature entirely, which removes the injection path but loses the rating widget and its rich-result markup. Disabling or restricting JSON-LD metadata output for recipes reduces the disclosure channel on page renders at the cost of losing search-engine rich snippets, and removing unnecessary plugins that register data-revealing shortcodes (attachment/gallery, private-post, user-meta shortcodes) shrinks what an executed payload can leak. Note that WAF/input filtering on comment text is only a partial mitigation because the decisive failure is the execution-before-sanitization ordering inside the plugin itself.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is an ordering flaw in WPRM_Metadata::sanitize_metadata() within the WP Recipe Maker plugin (CPE cpe:2.3:a:brechtvds:wp_recipe_maker, vendor brechtvds), falling under CWE-94 (Improper Control of Generation of Code / Code Injection). The method recursively walks the recipe's structured metadata array and invokes WordPress's do_shortcode() on each scalar field, including reviewBody, whose value is populated verbatim from the comment_content of approved wprm-comment-rating comments. WordPress shortcodes are a server-side macro/templating mechanism in which registered shortcode handlers execute arbitrary PHP and return markup; calling do_shortcode() on untrusted text therefore turns that text into a server-side invocation surface. The subsequent wp_strip_all_tags() and strip_shortcodes() calls operate only on the already-produced output string, so they cannot prevent execution - they merely clean the result after the payload has run. The vulnerable code paths are identifiable in the 10.8.1 tag of the plugin's class-wprm-metadata.php (referenced lines around 181, 553 and 1028), and any site rendering JSON-LD structured metadata for recipes while accepting comment-rating submissions exposes this path. Impact severity is bounded in practice by two dependencies: the moderation gate that must pass the malicious comment, and the presence of installed shortcodes that return sensitive data.
Know when Wp Recipe Maker gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Unauthenticated network vector (PR:N), but AC:H because success depends on the comment clearing an out-of-attacker-control approval gate; impact is primarily disclosure (C:H), integrity only if a side-effecting shortcode exists (I:L), no availability impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
WP Recipe Maker plugin for WordPress (versions up to and including 10.8.1) contains a critical shortcode injection flaw that could expose sensitive data from other installed plugins to any visitor viewing recipe pages. Although the injection is unauthenticated per CVSS (PR:N), practical exploitation is gated by the site's comment-approval process and by whether installed shortcodes actually expose sensitive content. Leadership should care because unpatched WordPress sites with this plugin and additional shortcode-exposing plugins may leak private post fields or attachment metadata, potentially triggering data protection obligations.
No vendor-released patch identified at time of analysis. Deactivate or remove the WP Recipe Maker plugin if feasible. If it must remain, enforce manual approval for all recipe comments, restrict comment submission to authenticated users, disable the wprm-comment-rating shortcode processing if configuration allows, deploy WAF rules to strip shortcode tokens from comment fields, and review installed shortcodes to remove any that expose sensitive data. Monitor vendor advisory for patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Wp Recipe Maker
View allThe WP Recipe Maker plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the ‘Referer' header in all
Unauthenticated attackers can execute registered shortcodes server-side and read unpublished recipe content on WordPress
Unauthenticated visitors can read the full contents of recipes that are embedded in password-protected WordPress posts t
The WP Recipe Maker plugin for WordPress is vulnerable to SQL Injection via the 'recipes' parameter in all versions up t
The WP Recipe Maker plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's [wprm-recipe-inst
The WP Recipe Maker plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Recipe Notes in all versions u
The WP Recipe Maker plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's shortcode(s) in a
The WP Recipe Maker plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the use of the 'tag' attribute
Stored cross-site scripting in WP Recipe Maker through 10.9.1 allows an authenticated low-privilege WordPress user to pe
The WP Recipe Maker plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's wprm-recipe-round
The WP Recipe Maker plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'wprm-recipe-text
The WP Recipe Maker plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 9.1.
EUVD-2026-83476
GHSA-x57m-9xmj-gh9p
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB