CVE-2026-5137: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in rometheme RTMKit
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.
AI Analysis
Technical Summary
CVE-2026-5137 is a Local File Inclusion vulnerability in the RTMKit WordPress plugin (rometheme-for-elementor) affecting versions up to 2.0.7. The issue stems from improper control of the filename used in an include/require statement, specifically the 'template' parameter in the render_templates AJAX endpoint. Because this parameter is not properly sanitized, authenticated attackers with Contributor-level privileges or above can include arbitrary PHP files ending with _templates.php from the server, potentially executing arbitrary PHP code. The vulnerability is classified under CWE-98 (Improper Control of Filename for Include/Require Statement). No official patch or remediation level has been indicated in the available data.
Potential Impact
An attacker with Contributor-level or higher access can exploit this vulnerability to include and execute arbitrary PHP files on the server that end with _templates.php. This can lead to execution of attacker-controlled code within the context of the web server, potentially compromising the affected system. The CVSS score of 4.3 reflects a medium impact primarily on confidentiality, with no direct impact on integrity or availability reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access to trusted users only and monitor for suspicious activity related to the render_templates AJAX endpoint. Avoid using affected versions (<=2.0.7) in production environments if possible.
CVE-2026-5137: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in rometheme RTMKit
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.
CVSS v3.1
Score 4.3medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-5137 is a Local File Inclusion vulnerability in the RTMKit WordPress plugin (rometheme-for-elementor) affecting versions up to 2.0.7. The issue stems from improper control of the filename used in an include/require statement, specifically the 'template' parameter in the render_templates AJAX endpoint. Because this parameter is not properly sanitized, authenticated attackers with Contributor-level privileges or above can include arbitrary PHP files ending with _templates.php from the server, potentially executing arbitrary PHP code. The vulnerability is classified under CWE-98 (Improper Control of Filename for Include/Require Statement). No official patch or remediation level has been indicated in the available data.
Potential Impact
An attacker with Contributor-level or higher access can exploit this vulnerability to include and execute arbitrary PHP files on the server that end with _templates.php. This can lead to execution of attacker-controlled code within the context of the web server, potentially compromising the affected system. The CVSS score of 4.3 reflects a medium impact primarily on confidentiality, with no direct impact on integrity or availability reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access to trusted users only and monitor for suspicious activity related to the render_templates AJAX endpoint. Avoid using affected versions (<=2.0.7) in production environments if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-30T10:48:18.196Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a48224727e9c79719b226b6
Added to database: 07/03/2026, 20:57:43 UTC
Last enriched: 07/11/2026, 09:04:16 UTC
Last updated: 08/17/2026, 00:41:14 UTC
Views: 98
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.