CVE-2025-23942 WordPress WP Load Gallery Plugin <= 2.1.6 - Arbitrary File Upload vulnerability

Critical 9.1 Published Updated

Attackers can upload malicious web shells to the server, leading to remote code execution on sites using the WP Load Gallery plugin.

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

What is CVE-2025-23942?

CVE-2025-23942 is a critical vulnerability in ngocuct0912 WP Load Gallery, published on 22 Jan 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Unrestricted Upload of File with Dangerous Type vulnerability in ngocuct0912 WP Load Gallery wp-load-gallery allows Upload a Web Shell to a Web Server.This issue affects WP Load Gallery: from n/a through <= 2.1.6.

Weakness: CWE-434

Which versions are affected by CVE-2025-23942?

How do I fix CVE-2025-23942?

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

Is CVE-2025-23942 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-cr43-57pq-9qgj.

Is CVE-2025-23942 in your software?

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

Check your SBOMs for free