CVE-2025-4840 Likes and Dislikes Plugin <= 1.0.0 - Unauthenticated SQL Injection

High 7.5 Published Updated

Unauthenticated attackers can exploit SQL injection in the Likes and Dislikes plugin to read or modify database contents.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-4840?

CVE-2025-4840 is a high-severity SQL injection vulnerability in Unknown inprosysmedia-likes-dislikes-post, published on 10 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The inprosysmedia-likes-dislikes-post WordPress plugin through 1.0.0 does not properly sanitise and escape a parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to a SQL injection

Weakness: CWE-89

Which versions are affected by CVE-2025-4840?

It affects 1 product.

Products include Erumfaham Likes and Dislikes.

How do I fix CVE-2025-4840?

No fix has been published for CVE-2025-4840 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2025-4840 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4840 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-gccm-j8cw-3hcg.

Is CVE-2025-4840 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free