CVE-2025-60059
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-60059 is a Local File Inclusion (LFI) vulnerability in the axiomthemes smart SEO WordPress theme, classified under CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program). It affects all versions of the smart SEO theme up to and including version 2.12, and can be exploited by unauthenticated remote attackers. The vulnerability was reported by researcher "Bonds" on July 20, 2025, and published by Patchstack on August 19, 2025. It carries a CVSS v3.1 base score of 8.1 (High) (Patchstack).

Technical details

The vulnerability stems from improper control of filenames used in PHP include/require statements within the smart SEO WordPress theme (CWE-98), which allows an attacker to manipulate file path inputs and cause the server to include arbitrary local files. Because no authentication is required, a remote attacker can craft a malicious HTTP request that passes a controlled file path to a vulnerable inclusion point in the theme's PHP code. This falls under OWASP Top 10 category A3: Injection and is mapped to CAPEC-193 (PHP Remote File Inclusion). No public proof-of-concept code has been disclosed at this time (Patchstack).

Impact

Successful exploitation allows an attacker to include and render arbitrary local files from the server's filesystem, potentially exposing sensitive configuration files such as wp-config.php (which contains database credentials), system files, and other confidential data. Depending on server configuration, this could lead to complete database takeover, unauthorized access to the WordPress backend, and compromise of the entire web application's confidentiality and integrity. The high CVSS scores across confidentiality, integrity, and availability reflect the potential for full application compromise (Patchstack).

Exploitability

No public proof-of-concept exploit or evidence of active in-the-wild exploitation has been observed as of the time of publication. The EPSS score is approximately 0.0015 (0.15%), indicating a currently low probability of exploitation in the near term. The vulnerability requires no authentication and no user interaction, which lowers the barrier for exploitation if a PoC becomes available. Patchstack has flagged this as high priority, noting that vulnerabilities of this class are commonly used in mass-exploit campaigns targeting WordPress sites (Patchstack). It is not currently listed in the CISA KEV catalog.

Exploitation steps

  1. Reconnaissance: Identify WordPress sites using the axiomthemes smart SEO theme version ≤ 2.12 via tools like WPScan, Shodan, or by inspecting HTTP response headers and page source for theme indicators.
  2. Identify vulnerable parameter: Locate the PHP file inclusion point within the theme that accepts user-controlled input for file paths (e.g., a template or page parameter passed via GET/POST request).
  3. Craft malicious request: Send an HTTP request with a manipulated file path parameter using directory traversal sequences (e.g., ../../../../wp-config.php) targeting the vulnerable inclusion endpoint.
  4. Extract sensitive data: The server includes and outputs the contents of the targeted local file (e.g., wp-config.php), exposing database credentials, authentication keys, and other sensitive configuration data.
  5. Escalate access: Use extracted credentials to access the WordPress database directly or log in to the WordPress admin panel, enabling further compromise of the site (Patchstack).

Indicators of compromise

  • Network: Unusual HTTP GET or POST requests to WordPress theme files containing directory traversal sequences (e.g., ../, ..%2F, %2e%2e%2f) in query parameters; requests targeting sensitive files like wp-config.php or /etc/passwd.
  • Logs: Web server access logs showing requests with encoded path traversal patterns to theme-related PHP endpoints; repeated 200 responses to requests with suspicious file path parameters.
  • File System: Unexpected access timestamps on sensitive files such as wp-config.php; presence of web shells or unauthorized PHP files in the theme directory.
  • Process: Unusual PHP processes spawning child processes or making outbound network connections from the web server.

Mitigation and workarounds

As of the publication date, no official patch from the theme developer (axiomthemes) is available for the smart SEO theme. Patchstack has issued a virtual patching/mitigation rule for its subscribers to block exploitation attempts until an official fix is released. Recommended actions include: immediately updating the smart SEO theme if a patched version becomes available beyond 2.12; implementing strict input validation and allow-lists for file inclusion paths; deploying a Web Application Firewall (WAF) with LFI detection rules; applying the principle of least privilege to web server file permissions; and monitoring file inclusion operations for anomalous activity (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-17087HIGH7.5
  • wp-travel-engine
NoYesAug 16, 2026
CVE-2026-2497HIGH7.2
  • gallery-plugin
NoYesAug 16, 2026
CVE-2026-17608MEDIUM6.5
  • wp-compress-image-optimizer
NoYesAug 16, 2026
CVE-2026-2357MEDIUM6.4
  • bold-page-builder
NoYesAug 16, 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