Summary
CVE-2026-89296 is an unauthenticated SQL Injection vulnerability in the Pro Like Button WordPress plugin, affecting all versions prior to 2.0. The plugin fails to properly sanitize and escape a user-supplied parameter before using it in a SQL query, allowing unauthenticated attackers to inject arbitrary SQL via the network. The flaw carries a CVSS v3.1 base score of 8.6 (High), primarily due to its network attack vector, lack of required privileges or user interaction, and high confidentiality impact.
Technical details
- Root cause: The plugin does not sanitize or escape the
postidparameter before incorporating it into a SQL query executed against the WordPress database, and does not use parameterized queries/prepared statements for this input. - Trigger conditions: An attacker sends a crafted HTTP request containing a malicious SQL payload in the
postidparameter to a vulnerable endpoint exposed by the plugin. - Attack vector: Network — exploitable remotely over HTTP(S) with no authentication and no user interaction required (AV:N, PR:N, UI:N).
- Impact: Successful exploitation can allow unauthorized extraction of data from the WordPress database (CVSS Confidentiality impact: High), potentially including sensitive information such as user credentials stored in the
wp_userstable. The CVSS vector indicates Scope Changed (S:C), meaning the injected query can affect resources beyond the vulnerable component itself. Integrity and Availability impacts are scored as None under the CVSS vector, though the practical severity of SQL injection can vary depending on database configuration and permissions.
Affected software
- Pro Like Button (WordPress plugin) — all versions from the earliest release up to, but not including, 2.0
Severity
- CVSS v3.1 Base Score: 8.6 (High)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: Upgrade the Pro Like Button plugin to version 2.0 or later, where the input sanitization/escaping issue has been addressed.
- If no patch can be applied immediately:
- Disable or deactivate the Pro Like Button plugin until the upgrade can be completed.
- Deploy or tune a Web Application Firewall (WAF) to detect and block SQL injection patterns targeting the
postidparameter. - Restrict and monitor access to the affected endpoint, and review web server/database logs for anomalous query patterns indicative of SQL injection attempts.
- Ensure the database account used by WordPress operates with least-privilege access to limit the impact of any successful injection.

