Skip to main content

wpForo Forum CVE-2025-13126

HIGH
SQL Injection (CWE-89)
2025-12-14 security@wordfence.com
7.5
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify WordPress site running wpForo ≤2.4.12
  2. Exploit
    Send crafted request with malicious post_args/topic_args
  3. Execution
    Append subquery to unprepared SQL statement
  4. Impact
    Extract 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (wordfence) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (wordfence).

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Medium
popular but niche WordPress forum plugin, tens of thousands of installs
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy