Skip to main content

RTMKit WordPress Plugin CVE-2026-5137

| EUVDEUVD-2026-41528 MEDIUM
PHP Remote File Inclusion (CWE-98)
2026-07-03 Wordfence GHSA-9g8c-cjxj-24g2
4.3
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain WordPress Contributor account
  2. Delivery
    Send crafted AJAX POST to render_templates endpoint
  3. Exploit
    Manipulate 'template' parameter with path traversal
  4. Execution
    Server includes target _templates.php file
  5. Persist
    Embedded PHP payload executes server-side
  6. Impact
    Exfiltrate data or establish persistence

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Command and Control

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a WordPress user account with at minimum Contributor-level access - this is the explicit prerequisite stated in the description and corroborated by the CVSS PR:L metric. The render_templates AJAX endpoint must be reachable (standard WordPress AJAX path). For information disclosure, no additional conditions are needed beyond authentication: the attacker can attempt to include any file on the server whose path ends in _templates.php. For arbitrary PHP code execution, a file matching that suffix containing attacker-influenced PHP must already exist on the server's filesystem (e.g., a previously uploaded file, a plugin asset, or another writable path). Exploitation is limited to files ending in _templates.php, which materially constrains the code execution path. There is no user interaction required beyond the attacker's own AJAX request.

Impact

The official CVSS 3.1 score of 4.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N) rates only confidentiality impact, which understates the vulnerability's true ceiling. The CVE description explicitly states execution of arbitrary PHP code is possible, which implies potential integrity and availability impact under the right conditions - a discrepancy that defenders should note. The authentication requirement (Contributor-level) is a genuine limiting factor in most WordPress deployments where open registration is disabled, but in membership sites, editorial platforms, or sites with contributor self-registration this threshold is easily met. No EPSS data was provided in the intelligence package; no KEV listing exists, indicating no confirmed in-the-wild exploitation. The _templates.php suffix constraint increases the attack complexity for code execution specifically: the attacker must either identify an existing file matching the pattern with controllable content, or have a secondary upload primitive. For information disclosure alone, complexity is low. Overall, real-world risk is moderate for multi-author or open-registration WordPress deployments and low for single-author or tightly access-controlled sites.

Exploit ScenarioDerived

An attacker with a valid WordPress Contributor account crafts a POST request to the site's AJAX handler (wp-admin/admin-ajax.php) targeting the render_templates action, supplying a manipulated 'template' parameter using path traversal sequences to point to a PHP file ending in _templates.php that contains attacker-controlled code - such as one previously uploaded via a media or theme upload primitive. The server-side include executes the PHP payload within the web server's process context, enabling command execution or data exfiltration. No public proof-of-concept code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 03, 2026

Local File Inclusion in the RTMKit (rometheme-for-elementor) plugin for WordPress versions up to and including 2.0.7 allows authenticated attackers with Contributor-level access to include and execute arbitrary PHP code on the server. The render_templates AJAX endpoint passes the unsanitized 'template' parameter directly into a PHP require/include statement, restricted only to files ending in _templates.php. Wordfence reported this vulnerability; no public exploit code or CISA KEV listing is present at time of analysis.

RemediationAI

Upgrade the RTMKit plugin to version 2.0.8, which is the patched release inferred from the WordPress SVN changeset comparing the 2.0.7 and 2.0.8 tags (https://plugins.trac.wordpress.org/changeset?old_path=%2Frometheme-for-elementor/tags/2.0.7&new_path=%2Frometheme-for-elementor/tags/2.0.8). The fix modifies TemplatekitAPI.php to properly sanitize or validate the 'template' parameter before it is passed to the include statement. If an immediate upgrade is not possible, restrict WordPress user registration to prevent Contributor-level account creation, or disable the Templatekit AJAX endpoint functionality via a WAF rule blocking requests to the render_templates AJAX action. Note that restricting registration is a partial mitigation only - existing Contributor accounts would still be able to exploit the endpoint.

Affected VersionsENISA

RTMKit 0 ≤2.0.7

Affected Packages

euvd rtmkit no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program), a classic PHP file inclusion vulnerability. The vulnerable code resides in Inc/Modules/Templatekits/TemplatekitAPI.php at line 39, where the 'template' parameter received from the AJAX request is consumed by a PHP require/include call without path sanitization or allowlist validation. The CPE identifier cpe:2.3:a:rometheme:rtmkit:*:*:*:*:*:*:*:* confirms the affected software is the RTMKit plugin by RomeTheme, an Elementor page builder addon for WordPress. The suffix restriction (_templates.php) narrows the attack surface compared to unconstrained LFI but does not eliminate code execution risk if attacker-influenced files matching that pattern exist on the server through prior upload or existing plugin assets.

Know when Rtmkit gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 5.4 MEDIUM

PR:L reflects required Contributor auth; I:L added because description explicitly states PHP code execution is possible under reachable conditions.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Low
niche Elementor addon plugin, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy