CVE-2025-53257
BaseFortify
Publication date: 2025-06-27
Last updated on: 2026-04-23
Assigner: Patchstack
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
Helpful Resources
Exploitability
| 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]