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
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Lifecycle Timeline
2DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-98 – PHP Remote File Inclusion
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41528
GHSA-9g8c-cjxj-24g2