CVE-2026-4666
The wpForo Forum plugin for WordPress is vulnerable to unauthorized …
The wpForo Forum plugin for WordPress is vulnerable to unauthorized modification of data due to the use of `extract($args, EXTR_OVERWRITE)` on user-controlled input in the `edit()` method of `classes/Posts.php` in all versions up to, and including, 2.4.16. The `post_edit` action handler in `Actions.php` passes `$_REQUEST['post']` directly to `Posts::edit()`, which calls `extract($args, EXTR_OVERWRITE)`. An attacker can inject `post[guestposting]=1` to overwrite the local `$guestposting` variable, causing the entire permission check block to be skipped. The nonce check uses a hardcoded `wpforo_verify_form` action shared across all 8 forum templates, so any user who can view any forum page obtains a valid nonce. This makes it possible for authenticated attackers, with Subscriber-level access and above, to edit the title, body, name, and email fields of any forum post, including posts in private forums, admin posts, and moderator posts. Content passes through `wpforo_kses()` which strips JavaScript but allows rich HTML.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- plugins.trac.wordpress.org/browser/wpforo/tags/2.4.16/classes/Actions.php#L773
- plugins.trac.wordpress.org/browser/wpforo/tags/2.4.16/classes/Posts.php#L283
- plugins.trac.wordpress.org/browser/wpforo/tags/2.4.16/classes/Posts.php#L285
- plugins.trac.wordpress.org/browser/wpforo/tags/2.4.16/includes/functions.php#L532
- plugins.trac.wordpress.org/changeset?old_path=%2Fwpforo/tags/2.4.16&new_path=%2Fwpforo/tag
- ti.wordfence.io/vendors/patch/1885/download
- wordpress.org/plugins/wpforo/
- www.wordfence.com/threat-intel/vulnerabilities/id/049ffab1-677d-4112-9f1d-092ee01299f1?sou
- nvd.nist.gov/vuln/detail/CVE-2026-4666
- cve.org/CVERecord?id=CVE-2026-4666
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.