CVE-2025-48140 WordPress MetalpriceAPI plugin <= 1.1.4 - Remote Code Execution (RCE) Vulnerability
An attacker can execute arbitrary code on the server via a code injection flaw in the MetalpriceAPI WordPress plugin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-48140?
CVE-2025-48140 is a critical code injection vulnerability in MetalpriceAPI, published on 9 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Improper Control of Generation of Code ('Code Injection') vulnerability in metalpriceapi MetalpriceAPI metalpriceapi allows Code Injection.This issue affects MetalpriceAPI: from n/a through <= 1.1.4.
Weakness: CWE-94
Which versions are affected by CVE-2025-48140?
How do I fix CVE-2025-48140?
No fix has been published for CVE-2025-48140 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-48140 being exploited?
There is no known exploitation of CVE-2025-48140 in the wild and no public exploit code.
Sources
Also known as GHSA-qxmm-84j4-p2gc.