Vulnerability Description
The Object Sync for Salesforce plugin is vulnerable to unauthenticated SQL Injection via the wordpress_object_type parameter of its /wp-json/object-sync-for-salesforce/push/ REST route. The route's permission callback (can_process()) checks only the HTTP method for the push class — no capability or nonce — so it is reachable by unauthenticated users. The wordpress_object_type value is concatenated directly into a SQL query (post_type = "$object_type", class-object-sync-sf-wordpress.php:328) and executed via $wpdb->get_results() 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 wordpress_id (e.g. 1) is required — no authentication or Salesforce connection.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/object-sync-for-salesforce/trunk/clas
- https://plugins.trac.wordpress.org/browser/object-sync-for-salesforce/trunk/clas
- https://plugins.trac.wordpress.org/browser/object-sync-for-salesforce/trunk/clas
- https://plugins.trac.wordpress.org/browser/object-sync-for-salesforce/trunk/clas
- https://www.wordfence.com/threat-intel/vulnerabilities/id/78f964a7-bed3-435e-94c
FAQ
What is CVE-2026-15162?
CVE-2026-15162 is a vulnerability with a CVSS score of 7.5 (HIGH). The Object Sync for Salesforce plugin is vulnerable to unauthenticated SQL Injection via the wordpress_object_type parameter of its /wp-json/object-sync-for-salesforce/push/ REST route. The route's pe...
How severe is CVE-2026-15162?
CVE-2026-15162 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-15162?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.