Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain WordPress Contributor account
-
DeliverySend crafted AJAX POST to render_templates endpoint
-
ExploitManipulate 'template' parameter with path traversal
-
ExecutionServer includes target _templates.php file
-
PersistEmbedded PHP payload executes server-side
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
PR:L reflects required Contributor auth; I:L added because description explicitly states PHP code execution is possible under reachable conditions.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
PHP Object Injection in the RTMKit WordPress plugin (versions ≤ 2.1.5) allows an authenticated Contributor-level user to
Local File Inclusion vulnerability in RTMKit Addons for Elementor plugin versions up to 2.0.2 allows authenticated attac
Unauthenticated cross-site scripting in RTMKit (RomethemeKit For Elementor) versions up to and including 2.1.5 allows re
RTMKit WordPress plugin versions before 2.0.9 allows users holding at least the Author role to invoke a restricted build
Unauthorized post title disclosure in the RTMKit WordPress plugin before 2.0.9 allows any site user holding at least the
Unauthorized form submission disclosure in RTMKit (rometheme-for-elementor) versions up to and including 2.0.7 allows an
Stored Cross-Site Scripting in RTMKit (rometheme-for-elementor) versions up to and including 2.0.7 allows authenticated
Cross-Site Request Forgery (CSRF) in the RTMKit WordPress plugin (by RomeTheme, for Elementor) version 2.1.5 and earlier
RTMKit Addons for Elementor plugin for WordPress allows authenticated attackers with Author-level access or higher to mo
EUVD-2026-41528
GHSA-9g8c-cjxj-24g2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB