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

6.5
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2026-17607
CVSS 6.5 (Medium)
Publicly Published September 17, 2026
Last Updated September 18, 2026
Researcher Wordfence PRISM - Wordfence

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.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for WP Inventory Manager

Software Type Plugin
Software Slug wp-inventory-manager (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.5.2, or a newer patched version
Affected Version
  • <= 2.5.1
Patched Version
  • 2.5.2

Recent vulnerabilities in WP Inventory Manager

# Title CVE ID CVSS Researchers Date
1 WP Inventory Manager <= 2.5.4 - Unauthenticated Stored Cross-Site Scripting CVE-2026-90887 7.2 sorawautsukushiii September 14, 2026
2 WP Inventory Manager <= 2.5.3 - Authenticated (Contributor+) SQL Injection CVE-2026-57772 6.5 dodoh4t July 2, 2026
3 WP Inventory Manager <= 2.3.4 - Cross-Site Request Forgery CVE-2025-49977 4.3 Skalucy June 19, 2025
4 WP Inventory Manager <= 2.3.2 - Reflected Cross-Site Scripting CVE-2024-13434 6.1 Le Ngoc Anh January 16, 2025
5 WP Inventory Manager <= 2.1.0.13 - Cross-Site Request Forgery via delete_item CVE-2023-2842 4.3 NGO VAN TU June 5, 2023
6 WP Inventory Manager <= 2.1.0.13 - Cross-Site Request Forgery via delete_item CVE-2023-34002 4.3 Kévin Mosbahi (Mika) June 2, 2023
7 WP Inventory Manager <= 2.1.0.12 - Reflected Cross-Site Scripting via 'message' CVE-2023-2123 6.1 daniloalbuqrque April 26, 2023
8 WP Inventory Manager <= 2.1.0.11 - Reflected Cross-Site Scripting via 'message' CVE-2023-1806 6.1 Maurice Fielenbach April 12, 2023

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation