CVE-2025-60240

7.5

Alexander AnyComment · AnyComment

The AnyComment plugin for WordPress is vulnerable to local file inclusion due to improper control of filenames used in include or require statements.

Executive summary

The AnyComment plugin for WordPress contains a local file inclusion vulnerability that could allow an attacker to execute arbitrary local files on the host server.

Vulnerability

The software fails to properly sanitize input used in PHP include or require statements, enabling a local file inclusion attack. This vulnerability is accessible to unauthenticated attackers, as indicated by the CVSS vector AV:N/PR:N.

Business impact

Successful exploitation of this vulnerability can result in the disclosure of sensitive server files, potential remote code execution, or full compromise of the web application. Given the CVSS score of 7.5, this high severity flaw poses a significant risk to data confidentiality and system integrity, potentially leading to unauthorized access to configuration files or database credentials.

Remediation

Immediate Action: As no official patch is currently confirmed, users should immediately deactivate and remove the AnyComment plugin from their WordPress environment until a secure version is released by the vendor.

Proactive Monitoring: Monitor server access logs for suspicious requests containing directory traversal patterns or unexpected file paths, particularly those targeting PHP include functions.

Compensating Controls: Deploy a Web Application Firewall (WAF) with rules configured to block common local file inclusion (LFI) payloads and directory traversal attempts directed at the web server.

Exploitation status

Public Exploit Available: No (exploit_available: false)

Analyst recommendation

The severity of this vulnerability necessitates immediate administrative intervention. Because the plugin is currently susceptible to local file inclusion, the most effective mitigation is to remove the software from the production environment until a verified fix is provided. Security teams should prioritize the removal of this plugin to prevent potential unauthorized access to the underlying server.

More Alexander AnyComment CVEs

Sources

Originally found and disclosed by Nguyen Xuan Chien | Patchstack Bug Bounty Program, per the CVE Program record.