Vulnerability Description
The WP Inventory Manager plugin for WordPress is vulnerable to SQL Injection via the 'where' shortcode attribute of the [wpinventory] shortcode in versions up to, and including, 2.5.1. This is due to insufficient escaping on the user-supplied parameter and lack of sufficient preparation on the existing SQL query in the WPIMItem::get_all() function — parse_custom_where() only performs html_entity_decode(), strips semicolons, and does field-label name replacements, without using $wpdb->prepare() or a whitelist. The resulting string is concatenated into a raw SELECT statement that is executed via $wpdb->get_results(). This makes it possible for authenticated attackers, with Contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/wp-inventory-manager/tags/2.4.1/inclu
- https://plugins.trac.wordpress.org/browser/wp-inventory-manager/tags/2.4.1/inclu
- https://plugins.trac.wordpress.org/browser/wp-inventory-manager/tags/2.4.1/inclu
- https://plugins.trac.wordpress.org/browser/wp-inventory-manager/tags/2.4.1/inclu
- https://plugins.trac.wordpress.org/browser/wp-inventory-manager/tags/2.4.1/wpinv
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3657730%40wp-inventor
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1f439d60-0295-4ea8-b16
FAQ
What is CVE-2026-17607?
CVE-2026-17607 is a vulnerability with a CVSS score of 6.5 (MEDIUM). The WP Inventory Manager plugin for WordPress is vulnerable to SQL Injection via the 'where' shortcode attribute of the [wpinventory] shortcode in versions up to, and including, 2.5.1. This is due to ...
How severe is CVE-2026-17607?
CVE-2026-17607 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-17607?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.