Skip to content

CVE-2026-17607 WP Inventory Manager <= 2.5.1 - Authenticated (Contributor+) SQL Injection via 'where' Shortcode Attribute

MediumCVSS 6.5 EPSS 0.46%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
WordPress

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
chuck1982 WP Inventory Manager <= 2.5.1 after 2.5.1 Fixed
wordpress wp-inventory-manager(WordPress) < 2.5.2 2.5.2 Fixed

Affected products

ProductAffected versionsFixed in
wordpress wp-inventory-manager(WordPress) < 2.5.2 2.5.2
chuck1982 WP Inventory Manager <= 2.5.1 No fix listed

References