Unrated severityNVD Advisory· Published Jul 16, 2026· Updated Jul 16, 2026
wpForo Forum <= 3.1.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'location' Profile Field
CVE-2026-15021
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.
Affected products
1- Range: <=3.1.1
Patches
Vulnerability mechanics
References
8- plugins.trac.wordpress.org/browser/wpforo/tags/3.0.5/classes/Forms.phpmitre
- plugins.trac.wordpress.org/browser/wpforo/tags/3.0.5/classes/Forms.phpmitre
- plugins.trac.wordpress.org/browser/wpforo/tags/3.0.5/classes/Members.phpmitre
- plugins.trac.wordpress.org/browser/wpforo/tags/3.1.1/classes/Forms.phpmitre
- plugins.trac.wordpress.org/browser/wpforo/tags/3.1.1/classes/Forms.phpmitre
- plugins.trac.wordpress.org/browser/wpforo/tags/3.1.1/classes/Members.phpmitre
- plugins.trac.wordpress.org/changesetmitre
- www.wordfence.com/threat-intel/vulnerabilities/id/2cd364c5-c053-4c50-8232-bb47ab8e834bmitre
News mentions
1- Wordfence Intelligence Weekly WordPress Vulnerability Report (July 13, 2026 to July 19, 2026)Wordfence Blog · Jul 23, 2026