Home

Description

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.

PUBLISHED Reserved 2026-03-23 | Published 2026-04-17 | Updated 2026-04-17 | Assigner Wordfence




MEDIUM: 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Problem types

CWE-862 Missing Authorization

Product status

Default status
unaffected

Any version
affected

Timeline

2026-03-23:Vendor Notified
2026-04-16:Disclosed

Credits

Jared Reyes finder

References

www.wordfence.com/...-677d-4112-9f1d-092ee01299f1?source=cve

plugins.trac.wordpress.org/.../tags/2.4.16/classes/Posts.php

plugins.trac.wordpress.org/.../tags/2.4.16/classes/Posts.php

plugins.trac.wordpress.org/...ags/2.4.16/classes/Actions.php

plugins.trac.wordpress.org/.../2.4.16/includes/functions.php

wordpress.org/plugins/wpforo/

ti.wordfence.io/vendors/patch/1885/download

plugins.trac.wordpress.org/...new_path=%2Fwpforo/tags/2.4.17

cve.org (CVE-2026-4666)

nvd.nist.gov (CVE-2026-4666)

Download JSON