☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 6.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-6251

CVE-2025-6251 Cross-Site Scripting in Royal elementor addons
📅 PUBLISHED: 2025-11-19 03:29 UTC 🔄 UPDATED: 2026-08-12 14:52 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.03%
👁️
0.03% probability
<1× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.4
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
6.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-6251 is a Stored Cross-Site Scripting (XSS) vulnerability in the Royal Elementor Addons and Templates plugin for WordPress. The flaw resides in the insufficient sanitization of the $item['field_id'] parameter, allowing authenticated attackers with Contributor-level access or higher to inject arbitrary web scripts. These scripts execute when any user accesses the compromised page. The vulnerability affects all versions up to and including 1.7.1036. As of this report, no official patch has been released, and no public exploit code is available. The CVSS score is 6.4 (Medium), with a low EPSS probability of 0.0%.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability is specific to the WordPress ecosystem and the Royal Elementor Addons plugin. It is not related to Apache or Nginx. The plugin is distributed via the WordPress plugin repository and third-party marketplaces. Users should verify the integrity of their plugin files and monitor for updates from the vendor.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The attack is carried out over the network.
  • Attack Complexity (AC): Low (L) – No special conditions are required.
  • Privileges Required (PR): Low (L) – The attacker needs Contributor-level access.
  • User Interaction (UI): None (N) – No user action is needed for the script to execute.
  • Scope (S): Changed (C) – The vulnerability impacts resources beyond the original scope.
  • Confidentiality (C): Low (L) – Limited data exposure.
  • Integrity (I): Low (L) – Limited ability to modify data.
  • Availability (A): None (N) – No impact on availability.

Threat Level: Medium. The requirement for authenticated access reduces the attack surface, but the stored nature of the XSS can lead to widespread impact if exploited on a high-traffic page.

Deep Dive & Mechanics

The vulnerability exists in the form builder or similar component of the Royal Elementor Addons plugin. When processing form submissions or widget settings, the plugin uses the $item['field_id'] parameter to generate HTML attributes. Due to insufficient input sanitization and output escaping, an attacker can inject malicious JavaScript code into this field.

Attack Flow:

  1. An authenticated user with Contributor-level access creates or edits a page using the Royal Elementor Addons form widget.
  2. The attacker crafts a payload in the field_id parameter, such as "><script>alert('XSS')</script>.
  3. The plugin stores this payload in the database without proper sanitization.
  4. When any user (including administrators) visits the page, the injected script executes in their browser.

Root Cause: The plugin fails to use WordPress's built-in escaping functions (e.g., esc_attr(), esc_html()) on the $item['field_id'] value before outputting it in the HTML.

Vulnerable vs. Patched Code

Vulnerable Code (Example):

// In a form rendering function
echo '<input type="text" name="' . $item['field_id'] . '" />';

Patched Code (Expected):

// Properly escaped
echo '<input type="text" name="' . esc_attr( $item['field_id'] ) . '" />';

The patched version would use esc_attr() to neutralize any HTML or JavaScript characters.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • WordPress instance with Royal Elementor Addons <= 1.7.1036.
  • An account with Contributor-level access or higher.

Steps:

  1. Log in to WordPress as a Contributor.
  2. Create a new page or edit an existing one.
  3. Add the Royal Elementor Addons form widget.
  4. In the form field settings, set the Field ID to a malicious payload:
    "><script>alert(document.cookie)</script>
    
  5. Save and publish the page.
  6. When any user visits the page, the script executes.

Proof of Concept (No public exploit available):

<!-- Payload for field_id -->
"><img src=x onerror=alert('XSS')>

Blue Team (Detection & Prevention)

Detection:

  • Monitor for unusual field_id values in form submissions.
  • Look for pages containing script tags or event handlers in form field attributes.
  • Use Web Application Firewall (WAF) rules to block common XSS patterns.

Prevention:

  • Apply input validation and output escaping on all user-supplied data.
  • Restrict Contributor-level access to trusted users only.
  • Use Content Security Policy (CSP) headers to mitigate script execution.

Indicators of Compromise (IOCs)

  • File Indicators:

    • Modified plugin files in /wp-content/plugins/royal-elementor-addons/
    • Suspicious entries in the wp_posts or wp_postmeta tables containing script tags.
  • Network Indicators:

    • HTTP requests to the WordPress site with field_id parameters containing <script> or onerror= patterns.
  • Behavioral Indicators:

    • Unexpected JavaScript execution on pages using the Royal Elementor Addons form widget.
    • Alerts from security plugins (e.g., Wordfence) flagging XSS attempts.

Detection Engineering

YARA Rule

rule CVE_2025_6251_Stored_XSS {
    meta:
        description = "Detects stored XSS payloads in Royal Elementor Addons field_id"
        author = "Valters IT"
        date = "2025-01-01"
        reference = "CVE-2025-6251"
    strings:
        $payload1 = /<script[^>]*>.*?<\/script>/is
        $payload2 = /onerror\s*=\s*["']?[^"'\s>]+/is
        $payload3 = /onload\s*=\s*["']?[^"'\s>]+/is
    condition:
        any of them
}

Sigma Rule

title: CVE-2025-6251 Stored XSS in Royal Elementor Addons
id: 8a4b3c2d-1e5f-6a7b-8c9d-0e1f2a3b4c5d
status: experimental
description: Detects stored XSS attempts via field_id parameter in Royal Elementor Addons
author: Valters IT
date: 2025-01-01
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: 'field_id'
        cs-uri-query|re: '(<script|onerror|onload)'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in form fields (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-6251 Stored XSS in Royal Elementor Addons"; flow:to_server,established; content:"field_id"; http_client_body; pcre:"/(<script|onerror|onload)/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin if it is not critical to operations.
  2. Restrict Contributor-level access to only trusted users.
  3. Apply a virtual patch using a WAF to block XSS payloads in field_id parameters.

Long-term Fix:

  • Monitor the vendor's website for a patched version (expected to be > 1.7.1036).
  • Once available, update the plugin immediately.
  • Conduct a security audit of all custom fields and form inputs.

Workaround:

  • Use a security plugin like Wordfence to add an additional layer of XSS protection.
  • Implement a Content Security Policy (CSP) that blocks inline scripts.

Valters IT

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.html:"royal-elementor-addons"
http.html:"/wp-content/plugins/royal-elementor-addons/"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-6251/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.