CVE-2026-89274brechtvds WP Recipe Maker
Arbitrary Shortcode Execution in WP Recipe Maker
Critical 9.1 No auth needed
Follow: this CVE · brechtvds · brechtvds WP Recipe Maker We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Sep 19, 2026
- Updated
- Sep 21, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
WP Recipe Maker plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to 10.8.1. The `WPRM_Metadata::sanitize_metadata()` function executes shortcodes on metadata fields without prior validation, allowing unauthenticated attackers to inject malicious shortcodes through approved comments. Exposed data is embedded in JSON-LD metadata and disclosed to all page visitors.
Show the original NVD text
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.
What to do
Patch available
Update WP Recipe Maker to version 10.8.2 or later from the WordPress admin dashboard.
- Apply the vendor's security update for WP Recipe Maker.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- brechtvds · WP Recipe Maker
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.