Description
The RTMKit (rometheme-for-elementor) plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 2.0.7 This is due to insufficient path validation on the 'template' parameter in the render_templates AJAX endpoint, which is used directly in a require/include statement without sanitization. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute files on the server ending in _templates.php, allowing the execution of any PHP code in those files.
Published: 2026-07-03
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The RTMKit plugin for WordPress contains a Local File Inclusion flaw in the render_templates AJAX endpoint. When an attacker supplies an arbitrary value to the 'template' parameter, the plugin concatenates that value directly into a PHP require/include statement without any path validation. An authenticated user with Contributor or higher privileges can thus include and execute files ending in _templates.php on the server. This allows the execution of arbitrary PHP code, potentially yielding full control over the web server environment, classified as CWE‑98.

Affected Systems

WordPress sites running the RTMKit plugin up to and including version 2.0.7 are affected. Any installation that uses these plugin versions is at risk, and abuse requires a user account granted Contributor or higher access rights.

Risk and Exploitability

The CVSS score of 4.3 corresponds to a moderate severity, and the EPSS score of < 1% indicates a very low likelihood of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires that an attacker first authenticates to the WordPress site with Contributor or higher privileges, so the overall risk is moderate to low in environments with strict role management. For organizations that have compromised contributor accounts or who allow many contributors, the threat heightens considerably.

Generated by OpenCVE AI on July 21, 2026 at 10:01 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the RTMKit plugin to version 2.0.8 or newer to remove the vulnerable render_templates endpoint
  • Limit Contributor or higher roles to trusted users or enable two‑factor authentication to reduce the chance of credential compromise
  • Disable or restrict access to the render_templates AJAX endpoint if it is not needed, such as by adding IP filtering or role checks

Generated by OpenCVE AI on July 21, 2026 at 10:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 03 Jul 2026 12:00:00 +0000

Type Values Removed Values Added
First Time appeared Rometheme
Rometheme rtmkit
Wordpress
Wordpress wordpress
Vendors & Products Rometheme
Rometheme rtmkit
Wordpress
Wordpress wordpress

Fri, 03 Jul 2026 10:00:00 +0000

Type Values Removed Values Added
Description The RTMKit (rometheme-for-elementor) plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 2.0.7 This is due to insufficient path validation on the 'template' parameter in the render_templates AJAX endpoint, which is used directly in a require/include statement without sanitization. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute files on the server ending in _templates.php, allowing the execution of any PHP code in those files.
Title RTMKit <= 2.0.7 - Authenticated (Contributor+) Limited Local File Inclusion via 'template' Parameter
Weaknesses CWE-98
References
Metrics cvssV3_1

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


Subscriptions

Rometheme Rtmkit
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-06T14:44:45.786Z

Reserved: 2026-03-30T10:48:18.196Z

Link: CVE-2026-5137

cve-icon Vulnrichment

Updated: 2026-07-06T14:44:41.460Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T10:15:02Z

Weaknesses
  • CWE-98

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