Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Fastw3b LLC FW Gallery fw-gallery allows PHP Local File Inclusion.This issue affects FW Gallery: from n/a through <= 8.0.0.
Published: 2025-06-27
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The FW Gallery WordPress plugin contains an improper control of filenames for PHP include/require statements, a vulnerability classified as CWE‑98. Because the plugin accepts user‑supplied input to determine the file path passed to PHP’s include/require functions, an attacker may force the plugin to include arbitrary local files on the server. If the attacker can place PHP code in a location that the plugin can read, the server will execute that code, potentially giving the attacker full control over the web host.

Affected Systems

All releases of the FW Gallery plugin up through version 8.0.0 are affected. Any WordPress site running the plugin at version 8.0.0 or earlier is vulnerable, regardless of other plugins or core WordPress version.

Risk and Exploitability

The CVSS base score of 8.1 indicates high severity, and an EPSS score below 1% suggests exploitation is currently rare. The vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is a crafted URL or form submission that influences the filename parameter sent to the plugin, which is inferred from the description. Successful exploitation would give the attacker the ability to execute arbitrary PHP code with the privileges of the web server.

Generated by OpenCVE AI on May 1, 2026 at 07:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade FW Gallery to a version newer than 8.0.0 that removes the insecure include logic, or disable the plugin if a secure update is not available.
  • Enforce strict file‑system permissions on the directories used by the plugin so that only trusted administrators can write files there, preventing attacker‑controlled file placement.
  • Implement application‑layer protection such as a web application firewall or specific rule sets to block directory‑traversal and suspicious file‑inclusion patterns targeting the plugin’s inclusion functionality.
  • Review all installed WordPress plugins regularly and maintain current versions for both core and third‑party extensions to reduce cumulative risk.

Generated by OpenCVE AI on May 1, 2026 at 07:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-19321 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Fastw3b LLC FW Gallery allows PHP Local File Inclusion. This issue affects FW Gallery: from n/a through 8.0.0.
History

Thu, 23 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Wed, 01 Apr 2026 23:45:00 +0000

Type Values Removed Values Added
Description Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Fastw3b LLC FW Gallery allows PHP Local File Inclusion. This issue affects FW Gallery: from n/a through 8.0.0. Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Fastw3b LLC FW Gallery fw-gallery allows PHP Local File Inclusion.This issue affects FW Gallery: from n/a through <= 8.0.0.
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Fri, 27 Jun 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 27 Jun 2025 12:00:00 +0000

Type Values Removed Values Added
Description Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Fastw3b LLC FW Gallery allows PHP Local File Inclusion. This issue affects FW Gallery: from n/a through 8.0.0.
Title WordPress FW Gallery plugin <= 8.0.0 - Local File Inclusion Vulnerability
Weaknesses CWE-98
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-04-28T16:13:04.076Z

Reserved: 2025-06-04T15:44:22.452Z

Link: CVE-2025-49416

cve-icon Vulnrichment

Updated: 2025-06-27T13:14:42.956Z

cve-icon NVD

Status : Deferred

Published: 2025-06-27T12:15:37.763

Modified: 2026-04-23T15:31:38.663

Link: CVE-2025-49416

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-01T07:30:11Z

Weaknesses
  • CWE-98

    Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')