Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2931+ Articles
167+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. WP Recipe Maker Flaw Lets Attackers Run Shortcodes via Recipe Ratings
WP Recipe Maker Flaw Lets Attackers Run Shortcodes via Recipe Ratings

Critical Security Alert

This vulnerability is actively being exploited. Immediate action is recommended.

SECURITYCRITICALCVE-2026-89274

WP Recipe Maker Flaw Lets Attackers Run Shortcodes via Recipe Ratings

CVE-2026-89274 (CVSS 9.1) in WP Recipe Maker lets unauthenticated attackers trigger server-side shortcode execution through approved rating comments.

Dylan H.

Security Team

September 19, 2026
4 min read

Affected Products

  • WP Recipe Maker Plugin ≤ 10.8.1

Executive Summary

A critical arbitrary shortcode execution vulnerability (CVE-2026-89274) has been disclosed in WP Recipe Maker, a WordPress recipe plugin installed on over 400,000 sites. The flaw is rated CVSS 9.1 and allows unauthenticated attackers to force the server to execute arbitrary registered shortcodes on every page load of an affected recipe.

CVSS Score: 9.1 (Critical)

The root cause is in WPRM_Metadata::sanitize_metadata(), which recursively calls do_shortcode() on every scalar field of a recipe's structured metadata — including the reviewBody field, populated verbatim from the comment_content of approved wprm-comment-rating comments. The plugin never strips shortcode syntax before invoking do_shortcode(); its later calls to wp_strip_all_tags() and strip_shortcodes() only clean the output after the shortcode has already executed, offering no real protection.


Vulnerability Overview

AttributeValue
CVE IDCVE-2026-89274
CVSS Score9.1 (Critical) — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CWECWE-94 (Improper Control of Generation of Code, Code Injection)
TypeUnauthenticated Arbitrary Shortcode Execution
Attack VectorNetwork (no authentication required to trigger execution)
Privileges RequiredNone to exploit; requires the comment to clear moderation
Discovered ByMd. Moniruzzaman Prodhan (NomanProdhan), via Wordfence

Affected Versions

PluginAffected VersionsFixed Version
WP Recipe Maker≤ 10.8.110.8.2

Attack Vector

1. Attacker submits a rating comment on a recipe using the wprm-comment-rating feature
2. Comment content contains a malicious shortcode, e.g. a shortcode exposing private data
3. Comment clears moderation (auto-approval, or a moderator approves it)
4. On every subsequent page render, sanitize_metadata() copies comment_content into reviewBody
5. do_shortcode() executes the embedded shortcode server-side before any sanitization runs
6. Shortcode output is embedded in the page's JSON-LD reviewBody metadata, visible to all visitors

Because the injected shortcode runs server-side and its output lands in structured metadata rather than rendered HTML, the attack can quietly leak data exposed by other installed shortcodes — attachment captions, private post fields, or anything else a registered shortcode can output — to every visitor and to search engines crawling the page's structured data.

Impact of Successful Exploitation

ImpactDescription
Server-Side Code ExecutionAny registered WordPress shortcode can be invoked without authorization
Sensitive Data DisclosureShortcode output embedded in public JSON-LD metadata on every page load
Search Engine ExposureLeaked data can be indexed via structured data crawlers
Persistent TriggerExecutes automatically on every render once the comment is approved — no repeat action needed

Immediate Remediation

Step 1: Update to Version 10.8.2

# Via WP-CLI
wp plugin update wp-recipe-maker
 
# Verify the installed version
wp plugin get wp-recipe-maker --field=version

Or update through WordPress admin: Plugins > Installed Plugins > WP Recipe Maker > Update Now.

Step 2: Audit Existing Approved Comments

# Search recent wprm-comment-rating comments for shortcode syntax
wp comment list --type=comment --status=approve --format=csv | grep -i '\[.*\]'

Manually review and remove any approved recipe rating comments containing bracketed shortcode-like syntax.

Step 3: Tighten Comment Moderation

  1. Navigate to Settings > Discussion
  2. Disable comment auto-approval if currently enabled
  3. Require manual moderator approval for all new comments

If Immediate Patching Is Not Possible

  1. Disable the recipe rating/comment feature in WP Recipe Maker settings if not essential
  2. Enable strict comment moderation to prevent auto-approval of malicious content
  3. Monitor JSON-LD output on recipe pages for unexpected shortcode artifacts

Detection Indicators

IndicatorDescription
Comments containing [shortcode]-style syntax awaiting or holding approvalExploitation attempt
Unexpected content in a recipe page's JSON-LD reviewBody fieldSuccessful shortcode execution
Spikes in comment submissions to recipe postsAutomated exploitation scanning

Post-Remediation Steps

  1. Confirm plugin updated to 10.8.2 or later
  2. Purge and re-review all approved rating comments for injected shortcodes
  3. Re-enable strict moderation for future comment submissions
  4. Check search engine caches for any leaked structured data
  5. Deploy a WAF to catch shortcode-pattern payloads in comment submissions

References

  • Wordfence Intelligence — WP Recipe Maker Vulnerabilities
  • NIST NVD — CVE-2026-89274

Related Reading

  • Gravity Forms Unauthenticated File Upload Lets Attackers Achieve RCE
  • Forminator Forms Shortcode Execution via Quiz Parameter
  • CVE-2026-3589: WooCommerce CSRF Flaw Allows Unauthenticated
#WordPress#Code Injection#CVE-2026-89274#WP Recipe Maker#Web Security

Related Articles

Forminator Forms Bug Lets Attackers Run Shortcodes via Quiz Parameter

CVE-2026-92229 (CVSS 9.1) in Forminator Forms lets unauthenticated attackers execute arbitrary shortcodes by abusing the quiz current_url parameter.

4 min read

WP ERP Pro SQL Injection via search_key Parameter

A CVSS 7.5 SQL injection vulnerability in the WP ERP Pro WordPress plugin (all versions up to 1.5.1) allows unauthenticated attackers to extract sensitive...

5 min read

WP Maps Pro Bug Exploited to Create Admin Accounts on WordPress Sites

Hackers are actively exploiting a critical vulnerability in the WP Maps Pro WordPress plugin that allows unauthenticated attackers to create rogue…

4 min read
Back to all Security Alerts