CVE-2026-15021: wpForo Forum <= 3.1.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'location' Profile Field
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 sanitizetextfield() 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-15021?
The severity of CVE-2026-15021 is medium with a score of 6.4.
How do I fix CVE-2026-15021?
To fix CVE-2026-15021, update the wpForo Forum plugin to version 3.1.2 or later.
What type of vulnerability is CVE-2026-15021?
CVE-2026-15021 is a Stored Cross-Site Scripting (XSS) vulnerability.
Who can exploit CVE-2026-15021?
CVE-2026-15021 can be exploited by authenticated attackers with subscriber-level access or higher.
What component of wpForo Forum is affected by CVE-2026-15021?
CVE-2026-15021 affects the 'location' Profile Field in the wpForo Forum plugin.