CVE-2026-4666
Last modified
CVE-2026-4666 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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)`. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-4666?
How severe is CVE-2026-4666?
How do I fix CVE-2026-4666?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-46644Symfony Polyfill backports PHP features and provides compati…6.9
- CVE-2026-46645SQLAdmin is a flexible Admin interface for SQLAlchemy models…4.3
- CVE-2026-4665The WP Carousel Free plugin for WordPress is vulnerable to S…6.4
- CVE-2026-46654Plonky3 is a toolkit for polynomial IOPs (PIOPs). Prior to v…8.9
- CVE-2026-46656Bludit is a content management system. Versions prior to 3.2…8.8
- CVE-2026-46657Bludit is a content management system. Versions prior to 3.2…7.1
- CVE-2026-46668SpiceDB is an open source database system for creating and m…2.3
- CVE-2026-46669OpenVM is a performant and modular zkVM framework built for …7.5
- CVE-2026-4667HP System Optimizer might potentially be vulnerable to escal…7.3
- CVE-2026-46670YesWiki is a wiki system written in PHP. Prior to version 4.…9.8
- CVE-2026-46671Rust OneNote File Parser is a parser for Microsoft OneNote f…4.4
- CVE-2026-46672Actual is a local-first personal finance app. Prior to 26.6.…4.6
Are you affected by CVE-2026-4666?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
