CVE-2025-6991

Kallyas <= 4.21.0 - Authenticated (Contributor+) Local File Inclusion

Published Jul 26, 2025 CVSS 3.1 · 7.5 High EPSS 1.0% KEV · Not listed
Description
The kallyas theme for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 4.21.0 via the 'TH_LatestPosts4` widget. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included.

Analysis

AI-generated

Technical impact

The KALLYAS WordPress theme contains a local file inclusion flaw in the TH_LatestPosts4 widget. Because the widget evaluates user‑supplied parameters and includes them without proper validation, an attacker who can authenticate with Contributor or higher privileges can include any .php file present on the server. This enables arbitrary PHP execution, which can be used to bypass the WordPress access controls, read sensitive files, or run malicious code. The vulnerability is a classic example of CWE-98.

Affected Systems

All releases of the theme up to and including version 4.21.0 are affected. The theme is distributed by hogash as a multi‑purpose WordPress theme for eCommerce sites. The flaw therefore applies to any WordPress installation that has installed any of these vulnerable versions, regardless of the specific site content or configuration. Administrators should identify whether the site uses KALLYAS and verify the particular version number.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity with moderate‑to‑high impact. The EPSS score is less than 1%, suggesting that the probability of an exploitation carry on a given day is low, and the vulnerability is not listed in the CISA KEV catalog. Nonetheless, because the flaw requires authenticated access, it is practical only for attackers who can gain Contributor or higher roles, but those roles are typically granted to trusted collaborators. If an attacker obtains such credentials, code execution can be achieved without further privilege escalation. The attack vector is Web‑based, leveraging the WordPress admin interface and the vulnerable widget.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the KALLYAS theme to the latest released version, which removes the vulnerable TH_LatestPosts4 widget functionality.
  • If an upgrade is delayed, immediately disable the TH_LatestPosts4 widget for all contributors and higher users or remove its access entirely so that only administrators can use it.
  • Restrict uploaded file types on the server and configure PHP to prevent execution of user‑uploaded or locally stored PHP files; apply file‑type and MIME type validation to block execution of attacker‑controlled code.

Generated by OpenCVE AI on April 20, 2026 at 20:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-22781 The kallyas theme for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 4.21.0 via the 'TH_LatestPosts4` widget. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included.
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description The kallyas theme for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 4.21.0 via the 'TH_LatestPosts4` widget. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included.
Title Kallyas <= 4.21.0 - Authenticated (Contributor+) Local File Inclusion
Weaknesses CWE-98
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-98

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:28 PM
Reserved
Jul 1, 2025, 9:14 PM
Status
Deferred
Published
Jul 26, 2025, 8:15 AM
Modified
Jun 17, 2026, 10:03 AM