Description
The Likes and Dislikes Plugin plugin for WordPress is vulnerable to SQL Injection via the 'post' parameter in all versions up to, and including, 1.0.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. 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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| erumfaham | Likes and Dislikes Plugin | ≤ 1.0.0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 4 repositories
-
wiseep/CVE-2025-5287 ★ 9 · May 31, 2025
Wordpress likes and dislikes add-on - SQL Injection
-
RootHarpy/CVE-2025-5287 ★ 1 · Jun 16, 2025
Unauthenticated SQL Injection exploit for WordPress Likes and Dislikes Plugin ≤ 1.0.0
-
RandomRobbieBF/CVE-2025-5287 ★ 1 · Jun 12, 2025
Likes and Dislikes Plugin <= 1.0.0 - Unauthenticated SQL Injection
-
Nxploited/CVE-2025-5287 ★ 1 · May 28, 2025
WordPress Likes and Dislikes Plugin <= 1.0.0 is vulnerable to SQL Injection
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Likes and Dislikes Plugin <= 1.0.0 - Unauthenticated SQL Injection http/cves/2025/CVE-2025-5287.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.