Junglewise Threat Intelligence

CVE-2026-5137: rometheme RTMKit Local File Inclusion in render_templates AJAX endpoint

CVE-2026-5137 · Severity: medium · CVSS 4.3 · Published 2026-07-03

Technologies: RomeTheme RTMKit. Vendors: RomeTheme.

Executive brief

RTMKit is a WordPress plugin used to enhance the Elementor page builder with additional design templates. A security flaw in this plugin allows users with basic contributor-level access to potentially execute unauthorized code or access sensitive files on the website's server. This could lead to a partial compromise of the site's data or server security.

Technical details

The RTMKit plugin for WordPress is vulnerable to Local File Inclusion (LFI) due to insufficient path validation on the 'template' parameter within the render_templates AJAX endpoint. This parameter is passed directly into a PHP require/include statement without proper sanitization. Authenticated attackers with Contributor-level permissions or higher can exploit this to include and execute any file on the server that ends with the '_templates.php' suffix. This vulnerability is classified under CWE-98. A fix is available in version 2.0.8.

Affected products

  • rometheme RTMKit (rometheme-for-elementor) up to, and including, 2.0.7

Timeline

  • 2026-07-03: disclosed
  • 2026-07-03: advisory

References

Related threats