CVE-2025-58891

WordPress Sanger theme <= 1.24.0 - Local File Inclusion vulnerability

Published Dec 18, 2025 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Sanger sanger allows PHP Local File Inclusion.This issue affects Sanger: from n/a through <= 1.24.0.

Analysis

AI-generated

Technical impact

The vulnerability is caused by an improper control of filenames used in PHP include/require statements within the AncoraThemes Sanger theme. This flaw allows an attacker to supply arbitrary local file paths, leading to a Local File Inclusion (LFI) condition that can expose sensitive system files or, in some scenarios, enable further exploitation such as code execution. The weakness is classified as CWE‑98 – Improper Control of Filename for Include/Require Statement.

Affected Systems

WordPress installations that use the AncoraThemes Sanger theme version 1.24.0 or earlier. The issue does not affect later major releases that surpass the 1.24.0 threshold.

Risk and Exploitability

With a CVSS score of 8.1 this vulnerability is considered high severity, yet the EPSS score indicates that the likelihood of public exploitation is currently low (<1%). The vulnerability is not listed in CISA's KEV catalog, meaning no widespread, actively exploited incidents have been reported at the time of analysis. Attackers would need to deliver a specially crafted request to the site that includes a malicious file path, exploiting the theme's lack of proper input validation. Successful exploitation could allow reading of local files and, depending on the server configuration, could potentially lead to execution of arbitrary PHP code.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Sanger theme to a version newer than 1.24.0 that implements a safe file inclusion guard.
  • If upgrading is not immediately possible, remove or disable the vulnerable include logic by editing the theme files to prevent arbitrary path resolution, for example by hard‑coding allowed directories or using absolute paths.
  • Restrict PHP file access by applying open_basedir limits or disabling remote file editing in wp‑admin, and ensure that the WordPress file system permissions do not permit arbitrary file reads by the web server.

Generated by OpenCVE AI on April 29, 2026 at 22:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

ssvc

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

Type Values Removed Values Added
Metrics cvssV3_1

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

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'}

Type Values Removed Values Added
First Time appeared Ancorathemes
Ancorathemes sanger
CPEs cpe:2.3:a:ancorathemes:sanger:*:*:*:*:*:wordpress:*:*
Vendors & Products Ancorathemes
Ancorathemes sanger
Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
Description Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Sanger sanger allows PHP Local File Inclusion.This issue affects Sanger: from n/a through <= 1.24.0.
Title WordPress Sanger theme <= 1.24.0 - Local File Inclusion vulnerability
Weaknesses CWE-98
References
Weaknesses
  • CWE-98

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

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Apr 28, 2026, 4:13 PM
Reserved
Sep 5, 2025, 10:50 AM
Status
Modified
Published
Dec 18, 2025, 8:15 AM
Modified
Jun 17, 2026, 9:45 AM