CVE-2025-49361

8.1

AncoraThemes · Mamita

The AncoraThemes Mamita WordPress theme contains a local file inclusion vulnerability due to improper control of filenames in include or require statements.

Executive summary

The AncoraThemes Mamita WordPress theme is vulnerable to local file inclusion, which could allow an unauthenticated attacker to execute arbitrary PHP code on the underlying server.

Vulnerability

This vulnerability, identified as CWE-98, involves an improper control of filenames used in include or require statements within the theme. An unauthenticated attacker can leverage this flaw to perform local file inclusion, potentially leading to unauthorized information disclosure or remote code execution.

Business impact

The severity of this vulnerability is high, with a CVSS score of 8.1, primarily due to the potential for total system compromise. Successful exploitation could allow an attacker to read sensitive configuration files or execute arbitrary code on the web server, resulting in complete loss of confidentiality, integrity, and availability. This risk is particularly acute for organizations hosting sensitive customer data or proprietary applications on the affected WordPress instance.

Remediation

Immediate Action: As no official patch is currently confirmed, administrators should immediately deactivate the Mamita theme until a secure version is released by AncoraThemes.

Proactive Monitoring: Security teams should review web server access logs for requests containing suspicious path traversal patterns or unexpected file inclusions.

Compensating Controls: Deploy a Web Application Firewall (WAF) with rules configured to block directory traversal attempts and malicious input directed at PHP include parameters.

Exploitation status

Public Exploit Available: No confirmed public exploit is available in our curated sources.

Analyst recommendation

Given the potential for complete system compromise, immediate deactivation of the vulnerable Mamita theme is the most prudent course of action. Organizations should monitor the vendor advisory for updates and ensure that their security posture includes robust egress filtering and file integrity monitoring to detect unauthorized modifications to the web directory.

More AncoraThemes CVEs

Sources

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