Skip to main content

CVE-2026-89274: CWE-94 Improper Control of Generation of Code ('Code Injection') in brechtvds WP Recipe Maker

0
Critical
VulnerabilityCVE-2026-89274cvecve-2026-89274cwe-94
Published: 09/19/2026 (09/19/2026, 02:27:11 UTC)
Source: CVE Database V5
Vendor/Project: brechtvds
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

brechtvds

WP Recipe Maker

Affected versions
>=0 <=10.8.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/19/2026, 03:01:38 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses