CVE-2026-89274: CWE-94 Improper Control of Generation of Code ('Code Injection') in brechtvds WP Recipe Maker
The WP Recipe Maker WordPress plugin up to version 10.8.1 contains a code injection vulnerability allowing unauthenticated attackers to execute arbitrary registered shortcodes server-side. This occurs because user-supplied comment content is processed by a function that executes shortcodes before sanitization, enabling disclosure of sensitive data embedded in shortcode output. Exploitation requires the attacker's comment to be approved on the site, after which the malicious shortcode executes on every recipe page load.
AI Analysis
Technical Summary
CVE-2026-89274 is a CWE-94 Improper Control of Generation of Code vulnerability in the WP Recipe Maker plugin for WordPress, affecting all versions up to and including 10.8.1. The vulnerability arises from the `WPRM_Metadata::sanitize_metadata()` function recursively calling `do_shortcode()` on scalar fields of recipe metadata, including the `reviewBody` field sourced directly from approved comment content. Since shortcode execution occurs before any stripping or sanitization, unauthenticated attackers can inject arbitrary shortcodes via approved comments, leading to server-side shortcode execution on recipe page renders. This can disclose sensitive data exposed by installed shortcodes within the page's JSON-LD metadata.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary registered WordPress shortcodes server-side on recipe page loads. This can lead to disclosure of sensitive data such as attachment captions or private post fields embedded in shortcode output. The vulnerability does not require user interaction beyond comment approval, which may be automatic or manual, making it a critical risk for affected sites.
Mitigation Recommendations
No official patch or fix is currently documented for this vulnerability. Site administrators should review comment approval workflows to prevent untrusted comments from being approved and consider disabling or restricting shortcode execution in user-generated content until an official fix is released. Monitor the vendor advisory for updates and apply patches promptly once available.
CVE-2026-89274: CWE-94 Improper Control of Generation of Code ('Code Injection') in brechtvds WP Recipe Maker
Description
The WP Recipe Maker WordPress plugin up to version 10.8.1 contains a code injection vulnerability allowing unauthenticated attackers to execute arbitrary registered shortcodes server-side. This occurs because user-supplied comment content is processed by a function that executes shortcodes before sanitization, enabling disclosure of sensitive data embedded in shortcode output. Exploitation requires the attacker's comment to be approved on the site, after which the malicious shortcode executes on every recipe page load.
CVSS v3.1
Score 9.1critical
Affected software
brechtvds
WP Recipe Maker
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-89274 is a CWE-94 Improper Control of Generation of Code vulnerability in the WP Recipe Maker plugin for WordPress, affecting all versions up to and including 10.8.1. The vulnerability arises from the `WPRM_Metadata::sanitize_metadata()` function recursively calling `do_shortcode()` on scalar fields of recipe metadata, including the `reviewBody` field sourced directly from approved comment content. Since shortcode execution occurs before any stripping or sanitization, unauthenticated attackers can inject arbitrary shortcodes via approved comments, leading to server-side shortcode execution on recipe page renders. This can disclose sensitive data exposed by installed shortcodes within the page's JSON-LD metadata.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary registered WordPress shortcodes server-side on recipe page loads. This can lead to disclosure of sensitive data such as attachment captions or private post fields embedded in shortcode output. The vulnerability does not require user interaction beyond comment approval, which may be automatic or manual, making it a critical risk for affected sites.
Mitigation Recommendations
No official patch or fix is currently documented for this vulnerability. Site administrators should review comment approval workflows to prevent untrusted comments from being approved and consider disabling or restricting shortcode execution in user-generated content until an official fix is released. Monitor the vendor advisory for updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-09-11T11:03:45.111Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aadf7a955bf5e2cf501d548
Added to database: 09/19/2026, 02:47:05 UTC
Last enriched: 09/19/2026, 03:01:38 UTC
Last updated: 09/19/2026, 04:49:05 UTC
Views: 23
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.