CVE-2026-126089: Drag and Drop Multiple File Upload (Pro) - WooCommerce <= 1.7.2 - Unauthenticated SQL Injection via 'wc-upload-file' Parameter Array Key
The Drag and Drop Multiple File Upload (Pro) - WooCommerce plugin for WordPress is vulnerable to generic SQL Injection via the 'wc-upload-file (array key)' parameter in all versions up to, and including, 1.7.2 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. Exploitation requires that the site administrator has enabled the 'Count no. of pages?' option (dragndropcountpdf set to 'yes') and that the uploaded filename stored in the cart resolves to a file with a .pdf extension.
Affected Software
Event History
Frequently Asked Questions
Which sites are exposed to exploitation?
Sites using a vulnerable version of the plugin, through 1.7.2, are exposed only when the administrator has enabled the “Count no. of pages?” option (drag_n_drop_count_pdf set to “yes”) and an uploaded filename stored in the cart resolves to a .pdf file.
Does an attacker need an account or user interaction to exploit this issue?
No. The issue is described as exploitable by an unauthenticated attacker and does not require user interaction.
What is the immediate mitigation if updating is not possible?
Disable the “Count no. of pages?” option by setting drag_n_drop_count_pdf to a value other than “yes.” This condition is required for exploitation as described.
What could successful exploitation allow?
An attacker can append SQL queries to existing queries and use them to extract sensitive information from the WordPress database.