Atomic Edge analysis of CVE-2026-122264: wpForo Forum versions up to and including 3.2.4 contain an authenticated stored cross-site scripting (XSS) vulnerability in the ‘member[about]’ parameter. Subscriber-level users who have reached the default antispam threshold of three forum posts can inject arbitrary JavaScript into their profile ‘about’ field. The payload is stored and later rendered without sufficient escaping, allowing script execution in the browsers of any user viewing the affected profile or page. The CVSS score is 6.4 (Medium).
Root Cause: The vulnerability arises from inadequate input sanitization and output escaping in multiple code locations. In wpforo/classes/Forms.php, the ‘textarea’ type handling previously applied wpforo_kses with the ‘user_description’ context, but the ‘tinymce’ field type (used for the ‘about’ field) lacked explicit sanitization before storage. In wpforo/classes/Members.php around line 1074, the ‘about’ field was assigned directly from user input ($member[‘about’]) without additional filtering, and then stored in the user meta ‘description’. This meta value is later rendered by other parts of WordPress (e.g., the core post-author-biography block) without proper escaping, leading to XSS. Atomic Edge research confirms the patch introduces a new ‘tinymce’ branch in Forms.php that applies wpforo_kses with the ‘post’ context to strip event handlers and scripts, and adds a similar wpforo_kses call in Members.php before updating the ‘description’ meta.
Exploitation: An attacker with subscriber-level access (having at least three forum posts) can submit a crafted POST request to the profile editing endpoint (e.g., /wp-admin/admin-ajax.php?action=wpforo_profile_edit or a direct form submission to the profile page) with the parameter member[about] containing a JavaScript payload such as alert(document.cookie) or an event handler like . The payload is stored in the wp_usermeta table under the ‘description’ key. When any user (including administrators) views the attacker’s profile page or a page that renders the biography (e.g., a forum post authored by the attacker), the script executes in their browser context, enabling session hijacking, credential theft, or other client-side attacks.
Patch Analysis: The patch (version 3.2.5) addresses the vulnerability through multiple changes. In Forms.php, a new condition for $type === ‘tinymce’ applies wpforo_kses($value, ‘post’) to sanitize rich-text fields, stripping dangerous markup while allowing post-level HTML. In Members.php, the ‘about’ field is now sanitized with wpforo_kses($member[‘about’], ‘post’) before being stored in the ‘description’ meta, ensuring that even callers that bypass Forms::sanitize() (such as registration or imports) cannot store scripts. Additional hardening includes escaping output in admin list tables (Members.php), escaping the ‘mention’ and ‘posted_by’ variables in Template.php, and sanitizing various user fields (display_name, user_nicename, first_name, last_name, user_url) to prevent related injection vectors. The patch also increments the plugin version to 3.2.5.
Impact: Successful exploitation allows an authenticated attacker to execute arbitrary JavaScript in the context of other users’ browsers, including administrators. This can lead to session hijacking, theft of sensitive data (cookies, tokens), privilege escalation (by creating rogue admin accounts), defacement, or redirection to malicious sites. The requirement of three forum posts to access the profile editing page lowers the bar for attackers, as gaining subscriber access and posting three times is trivial on most forums. The stored nature of the XSS means the payload persists until removed, potentially affecting many users over time.







