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

Impact

The CityGov theme for WordPress contains a flaw in filename handling for PHP include/require statements, permitting an attacker to specify arbitrary local paths and trigger inclusion of files with PHP execution privileges. This vulnerability, identified as CWE‑98, can lead to disclosure of sensitive files or the execution of arbitrary code on the web server.

Affected Systems

AncoraThemes CityGov WordPress theme, versions 1.9 and earlier. The issue exists across all builds from the first release through version 1.9.

Risk and Exploitability

The CVSS score of 8.1 classifies this flaw as high severity. With an EPSS less than 1%, exploitation is considered unlikely under current public data. The vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is a remote HTTP request that supplies a crafted request parameter or URL to trigger the vulnerable include logic, requiring the WordPress site to be publicly reachable and the theme to be active.

Generated by OpenCVE AI on April 30, 2026 at 10:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the latest CityGov theme version (2.0 or newer) where the filename validation has been corrected.
  • If an upgrade is not yet possible, deactivate or remove the CityGov theme until the update is available to prevent any attempt to exploit the include logic.
  • As a temporary mitigation, enforce the PHP setting allow_url_include = Off and define open_basedir to restrict file access for the WordPress installation, reducing the attack surface for local file inclusion.

Generated by OpenCVE AI on April 30, 2026 at 10:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-19309 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes CityGov allows PHP Local File Inclusion. This issue affects CityGov: from n/a through 1.9.
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 AncoraThemes CityGov allows PHP Local File Inclusion. This issue affects CityGov: from n/a through 1.9. Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes CityGov citygov allows PHP Local File Inclusion.This issue affects CityGov: from n/a through <= 1.9.
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 13: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 AncoraThemes CityGov allows PHP Local File Inclusion. This issue affects CityGov: from n/a through 1.9.
Title WordPress CityGov theme <= 1.9 - 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

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

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

Reserved: 2025-06-19T10:03:36.791Z

Link: CVE-2025-52815

cve-icon Vulnrichment

Updated: 2025-06-27T13:11:07.853Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-04-23T15:32:13.570

Link: CVE-2025-52815

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-30T10:45:26Z

Weaknesses