SQL Injection in Erumfaham Likes And Dislikes Plugin

CVE-2025-5287

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.

Vulnerability class: SQL Injection

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

EPSS exploit prediction

EPSS 0.024, 84.2th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

4 public repositories with exploit or proof-of-concept code for this CVE:

  • wiseep/CVE-2025-5287 (9 stars, last pushed 2025-05-31): Wordpress likes and dislikes add-on - SQL Injection
  • RootHarpy/CVE-2025-5287 (1 star, last pushed 2025-06-16): Unauthenticated SQL Injection exploit for WordPress Likes and Dislikes Plugin ≤ 1.0.0
  • RandomRobbieBF/CVE-2025-5287 (1 star, last pushed 2025-06-12): Likes and Dislikes Plugin <= 1.0.0 - Unauthenticated SQL Injection
  • Nxploited/CVE-2025-5287 (1 star, last pushed 2025-05-28): WordPress Likes and Dislikes Plugin <= 1.0.0 is vulnerable to SQL Injection

Also mentioned in 4 other repositories (ARPSyndicate/cve-scores, fkie-cad/nvd-json-data-feeds, nomi-sec/PoC-in-GitHub, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References