Skip to main content
Vulnerability Database/CVE-2025-58605

CVE-2025-58605: WP Delicious Stored XSS Vulnerability

CVE-2025-58605 is a stored cross-site scripting vulnerability in the WP Delicious plugin for WordPress that allows attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-58605 Overview

CVE-2025-58605 is a stored Cross-Site Scripting (XSS) vulnerability in the WP Delicious delicious-recipes WordPress plugin. The flaw affects all versions up to and including 1.8.7. An authenticated attacker with low privileges can inject malicious JavaScript that executes in the browsers of users who view the affected content. The issue is classified under CWE-79, Improper Neutralization of Input During Web Page Generation.

Critical Impact

Attackers with low-privilege WordPress accounts can store malicious scripts that execute in administrator or visitor browsers, enabling session theft, content manipulation, and account takeover through scope change.

Affected Products

  • WP Delicious (delicious-recipes) plugin for WordPress
  • All versions through 1.8.7
  • WordPress sites with the plugin installed and accepting authenticated user input

Discovery Timeline

  • 2025-09-03 - CVE-2025-58605 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-58605

Vulnerability Analysis

The WP Delicious plugin fails to properly sanitize and encode user-supplied input before rendering it within web pages. An attacker with low-privilege access can submit crafted input containing JavaScript payloads. The plugin stores the payload in the WordPress database. When another user visits a page that renders the stored content, the browser executes the attacker-controlled script in the context of the site's origin.

Because this is a stored XSS, the payload persists across sessions and affects every visitor to the rendered page. User interaction is required to trigger the payload, but the attack scope changes, meaning injected scripts can affect privileged users such as administrators reviewing recipe submissions.

Root Cause

The root cause is missing or insufficient output encoding on user-controlled fields handled by the plugin. WordPress provides sanitization helpers such as esc_html(), esc_attr(), and wp_kses_post(), but the vulnerable code paths render stored values without applying appropriate context-aware escaping before output.

Attack Vector

Exploitation requires network access to the WordPress site and an authenticated account with contributor or similar low-privilege role. The attacker submits a recipe or related plugin content containing an XSS payload in a field that the plugin later renders without encoding. When an administrator or site visitor loads the affected page, the browser interprets the injected markup and executes the script.

Technical details are documented in the Patchstack advisory for the WP Delicious XSS vulnerability.

Detection Methods for CVE-2025-58605

Indicators of Compromise

  • Recipe posts or plugin-managed content containing <script>, onerror=, onload=, or javascript: strings in title, description, or metadata fields
  • Unexpected outbound requests from administrator browsers to attacker-controlled domains after viewing plugin pages
  • New or modified administrator accounts created shortly after administrators access recipe management pages
  • Unauthorized changes to WordPress options, theme files, or plugin configurations following plugin page visits

Detection Strategies

  • Audit the wp_posts and plugin-specific tables for content containing HTML event handlers or script tags in user-submitted fields
  • Review web server access logs for POST requests to plugin endpoints from low-privilege accounts followed by administrator views of the affected content
  • Deploy a Web Application Firewall ruleset that inspects stored plugin fields for XSS signatures

Monitoring Recommendations

  • Enable Content Security Policy (CSP) headers and alert on CSP violation reports originating from plugin pages
  • Monitor WordPress audit logs for role changes, new administrator accounts, and plugin or theme file modifications
  • Track browser-side errors and unexpected script loads on pages rendered by the delicious-recipes plugin

How to Mitigate CVE-2025-58605

Immediate Actions Required

  • Update the WP Delicious plugin to a version later than 1.8.7 as soon as a patched release is available
  • Audit existing recipe content for malicious payloads and remove or sanitize any injected scripts
  • Review WordPress user accounts and remove unused low-privilege accounts that could be abused for exploitation
  • Rotate administrator credentials and session cookies if evidence of exploitation is identified

Patch Information

The vendor advisory on Patchstack confirms that versions through 1.8.7 are vulnerable. Refer to the Patchstack advisory for the current fixed version and apply the update through the WordPress plugin dashboard or wp-cli.

Workarounds

  • Deactivate and remove the WP Delicious plugin until a patched version is installed
  • Restrict contributor and author account creation and disable self-registration where feasible
  • Deploy a Web Application Firewall rule that blocks XSS payloads submitted to plugin endpoints
  • Implement a strict Content Security Policy that disallows inline scripts on pages rendered by the plugin

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.