CVE-2024-51818
WordPress vulnerability analysis and mitigation

Overview

An SQL Injection vulnerability (CVE-2024-51818) was discovered in the Fancy Product Designer WordPress plugin affecting versions up to 6.4.3. The vulnerability allows unauthenticated attackers to execute arbitrary SQL queries in the WordPress site's database. This critical vulnerability was discovered by Rafie Muhammad and publicly disclosed on January 3, 2025 (Patchstack Database).

Technical details

The vulnerability exists in the get_products_sql_attrs function where the $_POST['fpd_filter_users_select'] variable is passed to the $where parameter for the user_id query with insufficient sanitization. The function only uses strip_tags to sanitize the value, which is inadequate for preventing SQL injection as it merely strips HTML, XML, and PHP tags. The value is then constructed without proper quotes in the SQL query and directly processed in the get_products function through $wpdb->get_results() query execution. The vulnerability has received a CVSS v3.1 base score of 9.3 (Critical) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L (Patchstack Article).

Impact

The vulnerability allows unauthenticated attackers to execute arbitrary SQL queries in the database of the WordPress site. This could potentially lead to unauthorized access to sensitive information stored in the database, manipulation of data, and possible compromise of the entire WordPress installation (Patchstack Database).

Mitigation and workarounds

Users are advised to update to version 6.4.4 or later which contains the fix for this vulnerability. If immediate updating is not possible, it is recommended to delete or deactivate the plugin until the patch can be applied. Patchstack customers are protected from this vulnerability through virtual patching (Patchstack Article).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14478HIGH7.5
  • demo-importer-plus
NoYesJan 17, 2026
CVE-2025-8615MEDIUM6.4
  • cubewp-framework
NoYesJan 17, 2026
CVE-2025-14078MEDIUM5.3
  • woocommerce-for-paygent-payment-main
NoYesJan 17, 2026
CVE-2025-12129MEDIUM5.3
  • cubewp-framework
NoYesJan 17, 2026
CVE-2026-0725MEDIUM4.4
  • integrate-dynamics-365-crm
NoYesJan 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management