Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister subscriber account on wpForo site
-
DeliverySubmit profile_update with script in 'telegram' field
-
ExploitPayload stored unsanitized via update_custom_fields()
-
ExecutionVictim views attacker profile page
-
Persistwpforo_decode() + unescaped echo executes script
-
ImpactSession hijack / admin action in victim browser
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated account with subscriber-level access or above on a WordPress site running wpForo Forum <= 3.1.6 (PR:L); on forums with open self-registration this prerequisite is trivially met. The specific injection point is the 'telegram' profile custom field submitted through the profile_update action, where raw $_POST['data'] is copied into $custom_fields before validate()/sanitize() run against a separate $user reference, so the field is stored unsanitized. Execution is triggered when any user views the injected profile page (field_wrap_profile() echoes the wpforo_decode()'d value without escaping); no special server configuration is needed beyond having the profile custom fields feature in use. |
| Impact | This is a genuine but moderate-priority issue, not an overhyped high-CVSS finding. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N = 6.4 Medium) is internally consistent and I concur with it: network-reachable, low complexity, but requiring authentication at subscriber level (PR:L) and yielding only partial confidentiality/integrity impact typical of stored XSS. The scope change (S:C) correctly reflects that injected script executes in the browsers of other users viewing the profile. No EPSS score, no CISA KEV listing, and no public POC are provided, so there is no evidence of active exploitation or automated mass-exploitation. The dominant limiting factor is PR:L - an attacker must first hold a subscriber (or higher) account, which on open-registration forums is trivial but still a gate above pure unauthenticated attack. Overall: a real, patchable defect worth remediating on affected forums, but not an emergency compared to unauthenticated RCE/privesc classes. |
| Exploit ScenarioDerived | An attacker registers a normal subscriber account on a WordPress site running wpForo Forum <=3.1.6, then edits their profile and places a JavaScript payload in the 'telegram' custom field, which is persisted unsanitized. When a moderator, administrator, or other member views the attacker's profile, the payload executes in their browser - enabling session/cookie theft, forced admin actions, or account takeover. No public exploit code is identified at time of analysis, but the injection path is straightforward and well-documented in the Wordfence advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 25, 2026
Stored cross-site scripting (XSS) in the wpForo Forum plugin for WordPress, affecting versions up to and including 3.1.6, allows authenticated attackers with subscriber-level access to inject arbitrary JavaScript through the 'telegram' profile field, which executes when any user views the injected profile page. This is a moderate-severity issue (CVSS 6.4) that requires an account on the target site, a condition trivially met if open registration is enabled; no public exploit identified at time of analysis. The flaw stems from insufficient input sanitization and output escaping in the profile update and render logic.
RemediationAI
No vendor-released patch version is explicitly identified in the provided data, but an upstream fix is available via WordPress plugin Trac changeset 3706608 (https://plugins.trac.wordpress.org/changeset?reponame=&old=3706608%40wpforo&new=3706608%40wpforo). Apply this fix or upgrade to the next wpForo Forum release that incorporates it; check the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/15dc1661-793a-43dd-8a12-8f51da6cb304?source=cve) for updated version information. Until a patched version is installed, a specific compensating control is to disable the 'telegram' custom profile field by removing it from wpForo's profile fields configuration; this eliminates the injection vector but removes Telegram contact functionality for users. Alternatively, restrict self-registration or limit profile editing capabilities to trusted roles, though this reduces user engagement and may not fully mitigate if other custom fields share the same flawed code path. As a code-level workaround, apply output escaping (e.g., esc_html()) to the field value after wpforo_decode() in field_wrap_profile(), but this requires custom development and testing to avoid breaking legitimate content.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) stored XSS in the wpForo Forum plugin (identified by CPE cpe:2.3:a:tomdever:wpforo_forum:*:*:*:*:*:*:*:*). During the 'profile_update' action, the raw $_POST['data'] array is copied into a $custom_fields variable before validate() and sanitize() run, but those functions operate on a parallel $user reference, leaving $custom_fields unsanitized. The unsanitized data is then persisted via update_custom_fields(). On render, wpforo_decode() reverses the entity encoding applied earlier, and the value is echoed without escaping in field_wrap_profile(). This allows an attacker to store malicious scripts in the 'telegram' custom profile field, which will execute in the browser of any user who views the profile. The vulnerable code paths are referenced in classes/Forms.php, classes/Members.php, and classes/Actions.php (Trac changeset 3706608 provides an upstream fix).
Know when Wpforo Forum gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Network-reachable stored XSS requiring a subscriber account (PR:L), no interaction to store; execution in other users' browsers is a scope change (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The wpForo Forum plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'telegram' profile field in versions up to, and including, 3.1.6. This is due to insufficient input sanitization and output escaping in the profile_update action - the raw $_POST['data'] array is copied into a $custom_fields variable before validate() and sanitize() run, both of which operate only on a parallel $user reference, leaving $custom_fields unsanitized when it is persisted via update_custom_fields(); on render, wpforo_decode() reverses the entity encoding and the value is echoed without escaping in field_wrap_profile(). This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wpforo Forum
View allThe wpForo Forum plugin for WordPress is vulnerable to Local File Include, Server-Side Request Forgery, and PHAR Deseria
PHP object injection in the wpForo Forum WordPress plugin before 3.1.6 lets an authenticated attacker with Subscriber-le
The wpForo Forum plugin for WordPress is vulnerable to SQL Injection via the 'slug' attribute of the 'wpforo' shortcode
The wpForo Forum WordPress plugin before 2.1.9 does not escape some request parameters while in debug mode, leading to a
The wpForo Forum WordPress plugin before 1.9.7 did not validate the redirect_to parameter in the login form of the forum
wpforo_get_request_uri in wpf-includes/functions.php in the wpForo Forum plugin before 1.4.12 for WordPress allows Unaut
Authentication bypass in the wpForo Forum WordPress plugin versions 3.1.0 and earlier allows remote unauthenticated atta
Unauthenticated PHP Object Injection in the wpForo Forum WordPress plugin versions 3.1.0 and earlier allows remote attac
Stored cross-site scripting in wpForo Forum WordPress plugin before 3.1.2 allows a subscriber-level authenticated user t
Insecure Direct Object Reference (IDOR) in the wpForo Forum WordPress plugin before 3.1.2 allows any subscriber-level au
Unauthenticated SQL injection in the wpForo Forum WordPress plugin (versions 3.0.4 and earlier) allows remote attackers
Rate-limit bypass in the wpForo Forum WordPress plugin (3.0.0 up to but not including 3.1.6) allows unauthenticated remo
EUVD-2026-86591
GHSA-584m-jf9m-5hp3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB