wpForo Forum CVE-2025-13126
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify WordPress site running wpForo ≤2.4.12
-
ExploitSend crafted request with malicious post_args/topic_args
-
ExecutionAppend subquery to unprepared SQL statement
-
ImpactExtract sensitive records from database
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special configuration required beyond having the wpForo Forum plugin installed and active on a WordPress site (version ≤2.4.12) with forum/topic pages reachable over the network. The injection is reached through the post_args and topic_args parameters used by the Posts, Topics, RecentPosts, and RecentTopics components, which are part of normal forum display functionality, so default installations are affected. Exploitation is unauthenticated (PR:N) and requires no user interaction (UI:N). The primary limiting factor is that the site must actually run this plugin at a vulnerable version; impact is confined to data disclosure (C:H, I:N, A:N) - the flaw does not by itself enable data modification or site takeover, though extracted credentials/secrets could enable follow-on compromise. |
| Impact | Signals are moderately consistent and point to a credible but not emergency-level priority. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) describes network-reachable, low-complexity, unauthenticated exploitation, which drives the 7.5 HIGH score - appropriate for an unauthenticated SQL injection, though capped because impact is confidentiality-only (C:H/I:N/A:N). Against that, EPSS is low at 0.38% (29th percentile), there is no CISA KEV listing, and no public exploit was identified in the provided data, so there is no evidence of active or widespread exploitation yet. The low EPSS alongside a high CVSS is not contradictory here: it reflects that no weaponized exploit has circulated, not that the flaw is hard to reach. The Wordfence source and trac references confirm the vulnerable code paths (Posts.php, Topics.php, RecentPosts/RecentTopics widgets), which supports confidence in the finding's validity. Net assessment: a real, patch-worthy vulnerability - unauthenticated data exposure in a public-facing plugin - but current telemetry suggests opportunistic rather than mass exploitation, so treat as high-priority patching rather than active-incident response. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted HTTP request to a WordPress site running wpForo Forum (≤2.4.12), supplying a malicious value in the post_args or topic_args parameter that is concatenated into an insufficiently prepared SQL query. Because the input is not properly escaped, the attacker appends additional SQL to extract sensitive data such as user credentials, email addresses, or session/secret data from the WordPress database. No public exploit code was identified at time of analysis, but the low attack complexity (AC:L) and lack of authentication (PR:N) make exploitation straightforward for a skilled attacker. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Unauthenticated SQL injection in the wpForo Forum plugin for WordPress (all versions through 2.4.12) allows remote attackers to append arbitrary SQL to the plugin's existing queries via the post_args and topic_args parameters, exposing sensitive database contents such as user credentials and secrets. The flaw is network-reachable and needs no authentication or user interaction (CVSS 7.5, PR:N/UI:N), requiring only that the plugin be installed, active, and its forum/topic pages reachable - default installations are affected, and exploitation is limited to confidentiality impact (no data modification or direct site takeover, though harvested credentials could enable follow-on compromise). No public exploit code or confirmed active exploitation has been identified at time of analysis, and EPSS is modest (0.38%, 29th percentile), making this a credible but not emergency-level priority.
RemediationAI
No fixed version is identified in the supplied reference data: the linked Trac references resolve to vulnerable code locations in the 2.4.10 tag rather than to a released patch, so monitored sources (the Wordfence advisory above and the WordPress plugin repository for wpForo) should be checked for a patched release before upgrading, and any published fix version should be applied immediately. Until a patched build is confirmed, the most effective control is to deactivate and remove the wpForo plugin - this eliminates exposure entirely but removes all forum functionality for the site's users. If the forum must stay online, deploy a WAF or equivalent virtual patching rule that blocks SQL metacharacters and injection patterns in the post_args and topic_args parameters, accepting that WAF rules can be bypassed with encoding tricks and add operational overhead; additionally restrict access to forum/topic endpoints where feasible (for example via IP allowlisting or staging-only deployment). After remediation, treat the database as potentially compromised: rotate WordPress database credentials, salt values, and any secrets or session data reachable through SQL reads, and review database and web logs for anomalous query activity, since credentials extracted before patching can enable follow-on compromise.
Affected ProductsAI
The wpForo Forum plugin for WordPress, all versions up to and including 2.4.12, is affected; the provided reference links point to vulnerable source in the 2.4.10 tagged code (classes/Posts.php line 633, classes/Topics.php line 1641, widgets/RecentPosts.php line 177, widgets/RecentTopics.php line 117), and the Wordfence advisory is published at https://www.wordfence.com/threat-intel/vulnerabilities/id/fd1704ef-e259-40a3-974b-128145bc8a4a?source=cve. No CPE identifiers were supplied with this record, so affected instances should be identified by scanning installed WordPress plugins for wpForo versions 2.4.12 and below - any self-hosted WordPress site running an active vulnerable build with publicly reachable forum/topic pages qualifies, while environments where the plugin is installed but inactive, or where forum routes are not exposed, are not exploitable through this vector.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The issue is a classic CWE-89 SQL injection in the WordPress wpForo Forum plugin, rooted in insufficient escaping of user-supplied input combined with a lack of proper query preparation. The post_args and topic_args parameters - consumed by the plugin's Posts, Topics, RecentPosts, and RecentTopics components that render normal forum content - are passed into SQL that is executed through WordPress's database layer, and because the values are neither escaped with the WordPress API nor bound through $wpdb::prepare(), an attacker can inject additional SQL clauses into an already-valid query. This is the 'append to existing query' pattern that typically enables UNION-style or stacked extraction of arbitrary rows from the WordPress database (users, options, session tokens, and any plugin-specific tables). Affected code paths are referenced in the Trac browser at version 2.4.10 in classes/Posts.php (line 633), classes/Topics.php (line 1641), widgets/RecentPosts.php (line 177), and widgets/RecentTopics.php (line 117). The internet-facing nature of forum pages (AV:N/AC:L, PR:N, UI:N) combined with high confidentiality impact (C:H) and no integrity or availability impact (I:N/A:N) matches the independent assessment exactly, and no configuration beyond an active vulnerable plugin is required.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Unauthenticated network-reachable injection with no user interaction (AV:N/AC:L/PR:N/UI:N); impact is database read only, so C:H with I:N/A:N.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
DescriptionCVE.org
The wpForo Forum plugin for WordPress is vulnerable to generic SQL Injection via the post_args and topic_args parameters in all versions up to, and including, 2.4.12 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Executive ViewAI
The wpForo Forum plugin for WordPress (all versions through 2.4.12) contains an unauthenticated SQL injection vulnerability that can expose sensitive database contents, including user credentials. No public exploit identified at time of analysis and no vendor-released patch identified at time of analysis, but the flaw is network-reachable and requires no authentication, meaning any organization with this plugin installed and its forum pages accessible is at risk. Leadership should prioritize confirming plugin usage and implementing interim mitigations, as credential theft could enable follow-on attacks.
Interim mitigations include disabling the wpForo plugin if not essential, deploying a WAF with virtual patching to block SQL injection attempts targeting post_args and topic_args parameters, restricting access to forum pages to authenticated users if feasible, and monitoring logs for anomalous database queries.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB