☠️
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-862
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-10390

CVE-2024-10390 Cross-Site Scripting in Elfsight
📅 PUBLISHED: 2024-11-18 16:31 UTC 🔄 UPDATED: 2026-08-12 14:53 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.24%
👁️
0.24% probability
6.0× above the median CVE
Tier: ELEVATED
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-2024-10390 is a medium-severity vulnerability affecting the Elfsight Telegram Chat CC plugin for WordPress up to version 1.1.0. The flaw resides in the updatePreferences function, which lacks a proper capability check, allowing authenticated attackers with subscriber-level access or higher to inject arbitrary web scripts (stored XSS). This can lead to session hijacking, defacement, or redirection of users who visit compromised pages. The vulnerability is within the WordPress plugin ecosystem and does not affect the core WordPress or server software.

⚡ 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

CVSS Breakdown & Threat Level

  • CVSS Score: 6.4 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low (Subscriber)
  • User Interaction: None
  • Scope: Changed (affects other components)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

The threat level is elevated due to the low privilege requirement and the ability to execute scripts in the context of other users, potentially leading to broader compromise.

Deep Dive & Mechanics

The vulnerability is a classic Missing Authorization (CWE-862) combined with Stored Cross-Site Scripting (CWE-79). The updatePreferences AJAX action in the Elfsight Telegram Chat CC plugin does not verify that the current user has the necessary capabilities (e.g., edit_posts or manage_options) before processing the request. An attacker with subscriber-level access can craft a request to update preferences with malicious JavaScript payloads. These payloads are stored in the WordPress database and executed when any user (including administrators) views a page that loads the plugin’s settings or chat interface.

The attack flow:

  1. Attacker logs in as a subscriber.
  2. Sends a POST request to /wp-admin/admin-ajax.php with action updatePreferences and a malicious payload in the preferences parameter.
  3. The plugin stores the payload without sanitization.
  4. When an admin or other user visits a page that renders the plugin, the script executes in their browser.

Vulnerable vs. Patched Code

Vulnerable Code (<= 1.1.0):

add_action('wp_ajax_updatePreferences', 'updatePreferences');
function updatePreferences() {
    $preferences = $_POST['preferences'];
    update_option('elfsight_telegram_chat_preferences', $preferences);
    wp_send_json_success();
}

The function lacks a current_user_can() check.

Patched Code (Hypothetical):

add_action('wp_ajax_updatePreferences', 'updatePreferences');
function updatePreferences() {
    if (!current_user_can('manage_options')) {
        wp_die('Unauthorized', 403);
    }
    $preferences = sanitize_text_field($_POST['preferences']);
    update_option('elfsight_telegram_chat_preferences', $preferences);
    wp_send_json_success();
}

The patch adds a capability check and input sanitization.

Exploitation & Lab Setup

Red Team (Exploitation):

  1. Prerequisites: Valid subscriber account on a WordPress site with the vulnerable plugin.
  2. Craft Payload: Create a JavaScript payload (e.g., <script>alert('XSS')</script>).
  3. Send Request:
    curl -X POST http://target.com/wp-admin/admin-ajax.php \
    -d "action=updatePreferences&preferences=<script>alert('XSS')</script>" \
    --cookie "wordpress_logged_in_xxx=..."
    
  4. Trigger: Visit any page that loads the plugin’s chat interface.

Blue Team (Detection & Response):

  • Monitor AJAX requests to admin-ajax.php with action updatePreferences from low-privilege users.
  • Look for unusual preferences parameters containing HTML/JavaScript.
  • Review WordPress options table for unexpected values in elfsight_telegram_chat_preferences.

Indicators of Compromise (IOCs)

  • Network: POST requests to /wp-admin/admin-ajax.php with action=updatePreferences and preferences containing <script> tags.
  • Host: WordPress options table entry elfsight_telegram_chat_preferences containing malicious JavaScript.
  • Logs: WordPress debug log entries showing unauthorized AJAX calls from subscriber roles.

Detection Engineering

YARA Rule:

rule detect_elfsight_xss_payload {
    meta:
        description = "Detects stored XSS payload in Elfsight Telegram Chat preferences"
        author = "Valters IT"
        date = "2024-10-27"
    strings:
        $payload = /<script[^>]*>.*<\/script>/i
        $option = "elfsight_telegram_chat_preferences"
    condition:
        $option and $payload
}

Sigma Rule:

title: Elfsight Telegram Chat CC Stored XSS via updatePreferences
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects unauthorized AJAX requests to updatePreferences with script payloads
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        cs-method: POST
        cs-uri-query|contains: admin-ajax.php
        cs-uri-query|contains: action=updatePreferences
        cs-uri-query|contains: <script
    condition: selection
falsepositives:
    - Legitimate plugin updates (unlikely)
level: high

Suricata Rule:

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"Elfsight Telegram Chat CC Stored XSS Attempt";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"admin-ajax.php"; http_uri;
    content:"action=updatePreferences"; http_client_body;
    content:"<script"; http_client_body;
    sid:1000001;
    rev:1;
)

Remediation & Mitigation

  1. Immediate: Disable the Elfsight Telegram Chat CC plugin until a patch is available.
  2. Short-term: Implement a Web Application Firewall (WAF) rule to block updatePreferences requests containing <script> tags.
  3. Long-term: Apply the vendor patch when released, or manually add capability checks and input sanitization to the plugin code.
  4. User Education: Ensure all WordPress users, especially subscribers, are aware of the risks of XSS.

Valters IT
Securing WordPress Ecosystems

👁️ 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:"Elfsight Telegram Chat"
http.html:"elfsight-telegram-chat-cc"

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