CVE-2026-15162: Object Sync for Salesforce <= 2.2.13 - Unauthenticated SQL Injection
The Object Sync for Salesforce plugin is vulnerable to unauthenticated SQL Injection via the wordpressobjecttype parameter of its /wp-json/object-sync-for-salesforce/push/ REST route. The route's permission callback (canprocess()) checks only the HTTP method for the push class — no capability or nonce — so it is reachable by unauthenticated users. The wordpressobjecttype value is concatenated directly into a SQL query (posttype = "$objecttype", class-object-sync-sf-wordpress.php:328) and executed via $wpdb->getresults() with no $wpdb->prepare() (:578). Because REST body parameters are not magic-quoted, an attacker can break out of the quoted string and inject arbitrary SQL. This makes it possible for unauthenticated attackers to append additional SQL queries (time-based blind), enabling extraction of sensitive information such as password hashes from the database. Only a valid wordpressid (e.g. 1) is required — no authentication or Salesforce connection.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-15162?
CVE-2026-15162 has a high severity rating of 7.5.
What type of vulnerability is described in CVE-2026-15162?
CVE-2026-15162 is an unauthenticated SQL Injection vulnerability.
How do I fix CVE-2026-15162?
To fix CVE-2026-15162, update the Object Sync for Salesforce plugin to the latest version or apply appropriate security patches.
What is the impact of exploiting CVE-2026-15162?
Exploitation of CVE-2026-15162 can lead to unauthorized access to the database and potential data breaches.
Which software is affected by CVE-2026-15162?
CVE-2026-15162 affects the Object Sync for Salesforce plugin on WordPress.