CVE-2025-54048 WordPress Custom API for WP <= 4.2.2 - SQL Injection Vulnerability
Attackers can execute arbitrary SQL commands via the Custom API for WP plugin, potentially reading or modifying 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-54048?
CVE-2025-54048 is a critical SQL injection vulnerability in miniOrange Custom API for WP, published on 20 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in miniOrange Custom API for WP custom-api-for-wp allows SQL Injection.This issue affects Custom API for WP: from n/a through <= 4.2.2.
Weakness: CWE-89
Which versions are affected by CVE-2025-54048?
How do I fix CVE-2025-54048?
No fix has been published for CVE-2025-54048 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-54048 being exploited?
There is no known exploitation of CVE-2025-54048 in the wild and no public exploit code.
Sources
Also known as GHSA-wmwp-pv69-5487.