Description
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.
Published: 2026-07-16
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The wpForo Forum plugin permits users who are logged in with at least subscriber privilege to store malicious script in the "location" profile field. The input undergoes sanitization that does not escape double quotes, enabling the attacker to break out of the href attribute context and inject event‑handler attributes. When the profile is displayed, the embedded script executes in the victim’s browser, which can lead to cookie theft, phishing, or execution of arbitrary client‑side code. This is a classic XSS flaw identified as CWE‑79.

Affected Systems

All releases of the wpForo Forum plugin for WordPress up to and including version 3.1.1 are affected. The flaw appears on any site that has the plugin installed and a user with subscriber or higher role. No specific external dependencies are required beyond the presence of the plugin in the WordPress installation.

Risk and Exploitability

The CVSS score of 6.4 indicates a medium severity. The EPSS score of less than 1% signals a low likelihood of exploitation at the present moment, and the vulnerability is not listed in CISA KEV. Nevertheless, an attacker must only be authenticated with a subscriber‑level account and supply a specially crafted payload; no server‑side code execution is necessary. Once injected, the script runs automatically whenever the profile page is accessed, providing a persistent threat vector against all users who view the page.

Generated by OpenCVE AI on July 31, 2026 at 02:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the wpForo Forum plugin to the latest version that removes the vulnerability.
  • If an upgrade is not feasible, disable or remove the "location" profile field for subscriber and higher roles, or prevent it from rendering on public pages.
  • Apply server‑side sanitization on the stored value that properly encodes double quotes and other special characters before rendering.
  • Enforce a Content Security Policy that disallows inline scripts and restricts the execution of unknown JavaScript on the site.

Generated by OpenCVE AI on July 31, 2026 at 02:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 16 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 16 Jul 2026 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Tomdever
Tomdever wpforo Forum
Wordpress
Wordpress wordpress
Vendors & Products Tomdever
Tomdever wpforo Forum
Wordpress
Wordpress wordpress

Thu, 16 Jul 2026 08:45:00 +0000

Type Values Removed Values Added
Description 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.
Title wpForo Forum <= 3.1.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'location' Profile Field
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Tomdever Wpforo Forum
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-16T13:40:50.799Z

Reserved: 2026-07-08T00:57:49.863Z

Link: CVE-2026-15021

cve-icon Vulnrichment

Updated: 2026-07-16T13:40:47.071Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T02:15:06Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')