CVE-2026-4666: wpForo Forum <= 2.4.16 - Missing Authorization to Authenticated (Subscriber+) Arbitrary Forum Post Modification via 'guestposting' Parameter
The wpForo Forum plugin for WordPress is vulnerable to unauthorized modification of data due to the use of extract($args, EXTROVERWRITE) on user-controlled input in the edit() method of classes/Posts.php in all versions up to, and including, 2.4.16. The postedit action handler in Actions.php passes $REQUEST['post'] directly to Posts::edit(), which calls extract($args, EXTROVERWRITE). 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 wpforoverifyform 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 wpforokses() which strips JavaScript but allows rich HTML.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-4666?
CVE-2026-4666 has a medium severity rating due to its potential for unauthorized data modification.
How do I fix CVE-2026-4666?
To fix CVE-2026-4666, you should update the wpForo Forum plugin to version 2.4.17 or later.
What versions are affected by CVE-2026-4666?
CVE-2026-4666 affects the wpForo Forum plugin versions up to and including 2.4.16.
What type of vulnerability is CVE-2026-4666?
CVE-2026-4666 is a missing authorization vulnerability that allows authenticated users to modify forum posts.
What impact does CVE-2026-4666 have?
The impact of CVE-2026-4666 can lead to unauthorized modification of forum posts by subscribers and higher user roles.