CVE-2025-53257
Awaiting Analysis Awaiting Analysis - Queue
BaseFortify

Publication date: 2025-06-27

Last updated on: 2026-04-23

Assigner: Patchstack

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-06-27
Last Modified
2026-04-23
Generated
2026-05-07
AI Q&A
2025-06-27
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Currently, no data is known.
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-98 The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in "require," "include," or similar functions.
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include removing and replacing the vulnerable Gmedia Photo Gallery plugin with an alternative plugin, as no official patch or update is available. Applying a virtual patch (vPatch) from Patchstack can provide rapid protection without requiring an official update. Deactivating the plugin alone does not eliminate the risk. Seeking professional incident response or assistance from your hosting provider is also advised if compromise is suspected. [1]


Can you explain this vulnerability to me?

CVE-2025-53257 is a Local File Inclusion (LFI) vulnerability in the WordPress Gmedia Photo Gallery plugin (versions up to 1.23.0). It allows an attacker with contributor-level privileges to include and display local files from the target website. This improper control of filename for include/require statements can expose sensitive information such as database credentials, potentially leading to further compromise. [1]


How can this vulnerability impact me? :

This vulnerability can expose sensitive information like database credentials, which may lead to a complete database takeover depending on the website's configuration. It poses a significant security risk by allowing attackers to access local files and potentially escalate their control over the website. [1]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

Detection of this vulnerability involves checking if the Gmedia Photo Gallery plugin version 1.23.0 or earlier is installed and active on your WordPress site. Since plugin-based malware scanners may be unreliable for this vulnerability, manual inspection or professional incident response is recommended. Specific commands are not provided in the available resources. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart