CVE-2025-53257 WordPress Gmedia Photo Gallery plugin <= 1.23.0 - Local File Inclusion Vulnerability

High 7.5 Published Updated

Attackers can exploit a local file inclusion vulnerability in the Gmedia Photo Gallery plugin to read sensitive files or execute arbitrary code.

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-53257?

CVE-2025-53257 is a high-severity path traversal vulnerability in Serhii Pasyuk Gmedia Photo Gallery, published on 27 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Serhii Pasyuk Gmedia Photo Gallery grand-media allows PHP Local File Inclusion.This issue affects Gmedia Photo Gallery: from n/a through <= 1.23.0.

Weakness: CWE-98

Which versions are affected by CVE-2025-53257?

How do I fix CVE-2025-53257?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-53257 being exploited?

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

Sources

Also known as GHSA-wwcf-g45v-mxvf.

Is CVE-2025-53257 in your software?

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

Check your SBOMs for free