---
id: CVE-2025-13126
title: >-
  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 lac…
summary: >-
  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 lac…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-89
published: '2025-12-14'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T19:10:00.160'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-13126'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpforo/tags/2.4.10/classes/Posts.php?rev=3386327#L633
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpforo/tags/2.4.10/classes/Topics.php?rev=3386327#L1641
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpforo/tags/2.4.10/widgets/RecentPosts.php?rev=3386327#L177
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpforo/tags/2.4.10/widgets/RecentTopics.php?rev=3386327#L117
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/fd1704ef-e259-40a3-974b-128145bc8a4a?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00375
epssPercentile: 0.29362
ingestedAt: '2026-10-07T19:44:15.665Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
