CVE-2025-68510
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2026-01-22

Last updated on: 2026-01-27

Assigner: Patchstack

Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThemeGoods Photography photography allows PHP Local File Inclusion.This issue affects Photography: from n/a through < 7.7.5.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-01-22
Last Modified
2026-01-27
Generated
2026-05-07
AI Q&A
2026-01-22
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
themegoods photography to 7.7.5 (exc)
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
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

This vulnerability allows unauthorized access to local files, potentially exposing sensitive information such as database credentials. Such exposure could lead to data breaches involving personal or protected health information, thereby negatively impacting compliance with standards like GDPR and HIPAA that require protection of sensitive data. Organizations using affected versions should promptly apply the patch to mitigate this risk. [1]


Can you explain this vulnerability to me?

CVE-2025-68510 is a Local File Inclusion (LFI) vulnerability in the WordPress Photography Theme versions prior to 7.7.5. It allows an unauthenticated attacker to include and display local files from the target website by exploiting improper control of filename in PHP include/require statements. This can expose sensitive information such as database credentials and potentially lead to a complete database takeover depending on the website's configuration. [1]


How can this vulnerability impact me? :

This vulnerability can have severe impacts including exposure of sensitive information like database credentials and potentially a complete database takeover. An attacker exploiting this flaw can access local files on the server without authentication, which can compromise the security and integrity of the affected website. [1]


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

Detection of this Local File Inclusion (LFI) vulnerability can be done by monitoring web server logs for suspicious requests attempting to include local files, such as those containing directory traversal patterns (e.g., '../') or attempts to access sensitive files like /etc/passwd. Specific commands are not provided in the resources, but generally, you can use tools like grep to search logs for suspicious patterns, for example: grep -i 'include' /var/log/apache2/access.log or grep -E '\.\./' /var/log/apache2/access.log. Additionally, web application firewalls (WAFs) with rules targeting this vulnerability can help detect and block exploitation attempts. [1]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include updating the WordPress Photography Theme to version 7.7.5 or later, where the vulnerability has been fixed. Until the update can be applied, users should implement the Patchstack-provided mitigation rule that blocks attacks targeting this vulnerability, enabling rapid protection. Applying these measures promptly is strongly advised to prevent exploitation. [1]


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