CVE-2025-58947
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-58947 is a PHP Local File Inclusion (LFI) vulnerability in the Axiomthemes Athos WordPress theme, caused by improper control of filenames in PHP include/require statements (CWE-98). It affects all versions of the Athos theme up to and including version 1.9. The vulnerability was reported by researcher "Bonds" on August 3, 2025, and published by Patchstack on September 2, 2025. It carries a CVSS v3.1 base score of 8.1 (High), exploitable remotely without authentication or user interaction (Patchstack).

Technical details

The vulnerability is classified under CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program). The Athos WordPress theme fails to properly sanitize or validate user-supplied input used in PHP include or require statements, allowing an attacker to manipulate the filename parameter to include arbitrary local files from the server's filesystem. No authentication or user interaction is required, and the attack is conducted entirely over the network. The vulnerability is mapped to CAPEC-193 (PHP Remote File Inclusion) and falls under OWASP Top 10 category A3: Injection (Patchstack).

Impact

Successful exploitation allows an unauthenticated remote attacker to read arbitrary local files from the web server, including sensitive configuration files such as WordPress's wp-config.php, which contains database credentials. This can lead to full database compromise, credential theft, and potentially complete site takeover. The CVSS assessment rates confidentiality, integrity, and availability impacts all as High, reflecting the severity of potential data exposure and system compromise (Patchstack).

Exploitability

No public proof-of-concept exploit code has been identified, and there is no confirmed evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.043%, indicating a currently low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, Patchstack rates it as high priority and notes that vulnerabilities of this class are frequently used in mass-exploit campaigns targeting WordPress sites regardless of their traffic or popularity (Patchstack).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites using the Athos theme (version ≤ 1.9) via passive scanning tools (e.g., WPScan, Shodan) or by inspecting theme metadata in publicly accessible style.css files.
  2. Identify vulnerable parameter: Locate the theme's PHP include/require functionality that accepts user-controlled input for file path selection — typically exposed via a GET or POST parameter in a theme template or AJAX handler.
  3. Craft LFI payload: Construct a request with a path traversal payload (e.g., ../../../../wp-config.php or /etc/passwd) in the vulnerable parameter to reference a sensitive local file.
  4. Send malicious request: Submit the crafted HTTP request to the target WordPress site without any authentication credentials.
  5. Retrieve sensitive data: If successful, the server's response will include the contents of the targeted file, potentially exposing database credentials, API keys, or other sensitive configuration data that can be leveraged for further compromise (Patchstack).

Indicators of compromise

  • Network: Unusual HTTP GET or POST requests to WordPress theme endpoints containing path traversal sequences (e.g., ../, ..%2F, %2e%2e%2f) in query parameters; requests targeting theme AJAX handlers or template files with unexpected file path values.
  • Logs: Web server access logs showing requests with encoded path traversal strings directed at Athos theme files; repeated 200 OK responses to requests containing wp-config, passwd, or other sensitive file names in parameters.
  • File System: No direct file system artifacts expected from read-only LFI, but evidence of follow-on activity such as new PHP webshells or modified theme files may indicate post-exploitation.
  • Application: WordPress error logs showing PHP include/require failures for unexpected file paths, which may indicate failed exploitation attempts.

Mitigation and workarounds

As of the publication date, no official patch from Axiomthemes has been released for the Athos theme. Site administrators should update the theme to a version beyond 1.9 if one becomes available, or consider replacing the theme with a supported alternative. Patchstack has issued a virtual patching/mitigation rule for subscribers that blocks exploitation attempts until an official fix is available. As an interim measure, administrators should monitor application logs for path traversal patterns and consider restricting access to WordPress sites using a web application firewall (WAF) (Patchstack).

Community reactions

Patchstack, which discovered and disclosed the vulnerability through researcher "Bonds," classifies it as high priority and warns that LFI vulnerabilities of this type are commonly leveraged in mass-exploit campaigns against WordPress sites. No significant vendor statement from Axiomthemes or broader media coverage has been identified at this time (Patchstack).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-13784CRITICAL9.8
  • arforms-form-builder
NoYesAug 16, 2026
CVE-2026-65640HIGH8.8
  • wordpress
NoYesAug 17, 2026
CVE-2026-11801HIGH7.5
  • wpadverts
NoYesAug 18, 2026
CVE-2026-13700MEDIUM5.9
  • wooms
NoNoAug 17, 2026
CVE-2026-14832MEDIUM5.3
  • shopsmart-loyalty-for-woocommerce
NoNoAug 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management