CVE-2024-58348 WordPress Background Image Cropper 1.2 Remote Code Execution

Critical 9.3 Published Updated

Unauthenticated attackers can upload arbitrary PHP files via the ups.php endpoint to execute code on the server.

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-2024-58348?

CVE-2024-58348 is a critical vulnerability in background-image-cropper Background Image Cropper, published on 8 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

WordPress Background Image Cropper version 1.2 contains a remote code execution vulnerability that allows unauthenticated attackers to upload arbitrary files by accessing the ups.php endpoint. Attackers can upload PHP files through the file upload form in the plugin directory to execute arbitrary code on the server.

Weakness: CWE-434

Which versions are affected by CVE-2024-58348?

How do I fix CVE-2024-58348?

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

Is CVE-2024-58348 being exploited?

There is no known exploitation of CVE-2024-58348 in the wild and no public exploit code.

Sources

Also known as GHSA-x5xw-hc63-vrfp.

Is CVE-2024-58348 in your software?

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

Check your SBOMs for free