CVE-2026-9179 WP Forms Connector <= 1.8 - Unauthenticated SQL Injection via 'order' Parameter
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- WordPress
Description
The WP Forms Connector plugin for WordPress is vulnerable to SQL Injection via the 'order' parameter of the /wp-json/wp/v3/post/list REST endpoint in versions up to and including 1.8. This is due to insufficient escaping on the user-supplied 'order' parameter (read directly from $_GET['order'] into $shorting) and the lack of sufficient preparation on the existing SQL query in the listPost() function, where the value is concatenated unquoted into the ORDER BY clause and executed via $wpdb->get_results() without $wpdb->prepare(). The endpoint is registered with permission_callback '__return_true' and performs only a broken header-based check that validates the supplied 'Username' corresponds to an administrator account while never verifying the 'Password'. 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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hancock11 WP Forms Connector | <= 1.8 | after 1.8 | Fixed |
| wordpress wp-forms-connector(WordPress) | <= 1.8 | after 1.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hancock11 WP Forms Connector | <= 1.8 | No fix listed |
| wordpress wp-forms-connector(WordPress) | <= 1.8 | No fix listed |
References
- www.wordfence.com
- plugins.trac.wordpress.org
- Wordfence Intelligence third-party-advisory
- www.cve.org