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-2024-13718 Overview
CVE-2024-13718 affects the Flexible Wishlist for WooCommerce plugin for WordPress, developed by wpdesk. The plugin is vulnerable to Cross-Site Request Forgery (CSRF) in all versions up to and including 1.2.26. The flaw stems from missing or incorrect nonce validation on several plugin functions. Unauthenticated attackers can modify, update, or create wishlists belonging to other users by tricking a site administrator into clicking a crafted link. The vulnerability is categorized under CWE-352.
Critical Impact
An attacker can manipulate wishlist data belonging to other users by convincing an authenticated administrator to trigger a forged request.
Affected Products
- Wpdesk Flexible Wishlist for WooCommerce plugin for WordPress
- All versions up to and including 1.2.26
- WordPress sites running WooCommerce with the affected plugin enabled
Discovery Timeline
- 2025-02-18 - CVE-2024-13718 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-13718
Vulnerability Analysis
Cross-Site Request Forgery abuses the trust a web application places in an authenticated user's browser. In the Flexible Wishlist for WooCommerce plugin, several server-side functions accept state-changing requests without verifying a valid WordPress nonce. This omission allows an attacker to craft a request that the victim's browser will submit automatically when the victim visits an attacker-controlled page. The impact is limited to integrity of wishlist data, with no direct effect on confidentiality or availability of the underlying site.
Root Cause
The root cause is missing or improperly implemented nonce validation on wishlist mutation endpoints within the plugin, mapped to [CWE-352]. WordPress provides wp_verify_nonce() and check_admin_referer() helpers specifically to prevent CSRF, and their absence on privileged actions leaves the endpoints unprotected. Because the endpoints rely on the caller's existing WordPress session cookies, any authenticated request originating from the victim's browser is trusted by the plugin.
Attack Vector
An unauthenticated attacker hosts a malicious page containing HTML or JavaScript that automatically issues a request to the vulnerable plugin endpoint. The attacker then delivers the link to a site administrator through phishing, comments, or social channels. When the administrator loads the page while logged in to WordPress, the browser attaches session cookies to the forged request. The plugin processes the request as legitimate and modifies wishlist data belonging to other users. Exploitation requires user interaction and does not require prior authentication by the attacker.
Detection Methods for CVE-2024-13718
Indicators of Compromise
- Unexpected creation, modification, or deletion of wishlist entries associated with user accounts that did not initiate the change
- HTTP POST requests to Flexible Wishlist plugin endpoints with Referer headers pointing to external, unrelated domains
- Administrator sessions generating wishlist-related requests immediately after clicking external links or opening email attachments
Detection Strategies
- Review WordPress and web server access logs for requests to plugin action handlers that lack a valid _wpnonce parameter
- Correlate wishlist database changes in wp_options or plugin-specific tables against expected user activity patterns
- Alert on cross-origin Referer values on state-changing requests targeting /wp-admin/admin-ajax.php or plugin routes
Monitoring Recommendations
- Enable verbose audit logging for administrator actions and plugin database writes
- Forward WordPress, PHP, and web server logs to a centralized analytics platform for correlation and long-term retention
- Monitor outbound egress from administrator workstations for connections to newly registered or low-reputation domains that may host CSRF payloads
How to Mitigate CVE-2024-13718
Immediate Actions Required
- Update Flexible Wishlist for WooCommerce to version 1.2.27 or later on all WordPress instances
- Audit existing wishlist records for unauthorized modifications and restore from backup where tampering is confirmed
- Instruct administrators to log out of WordPress sessions before browsing untrusted content
Patch Information
The vendor addressed the issue in version 1.2.27. The fix is visible in the plugin repository via the WordPress Plugin Changeset Update. Additional technical context is available through Wordfence Vulnerability Intelligence.
Workarounds
- Deactivate the Flexible Wishlist for WooCommerce plugin until the update to 1.2.27 can be applied
- Deploy a Web Application Firewall rule that blocks state-changing requests to plugin endpoints when the Referer or Origin header does not match the site's own domain
- Enforce SameSite=Lax or SameSite=Strict attributes on WordPress authentication cookies to reduce cross-site request risk
# Example WP-CLI command to update the vulnerable plugin
wp plugin update flexible-wishlist --version=1.2.27
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

