# CVE-2026-15021: wpForo Forum <= 3.1.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'location' Profile Field

- Severity: Medium 6.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-07-16T08:26:50.097Z
- Modified: 2026-07-16T14:16:48.777Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

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

(As written by CVE List.)

## Affected

- tomdever wpForo Forum: up to 3.1.1

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/2cd364c5-c053-4c50-8232-bb47ab8e834b?source=cve>
- <https://plugins.trac.wordpress.org/browser/wpforo/tags/3.1.1/classes/Forms.php#L1035>
- <https://plugins.trac.wordpress.org/browser/wpforo/tags/3.1.1/classes/Members.php#L1031>
- <https://plugins.trac.wordpress.org/browser/wpforo/tags/3.1.1/classes/Forms.php#L1074>
- <https://plugins.trac.wordpress.org/browser/wpforo/tags/3.0.5/classes/Forms.php#L1035>
- <https://plugins.trac.wordpress.org/browser/wpforo/tags/3.0.5/classes/Members.php#L1031>
- <https://plugins.trac.wordpress.org/browser/wpforo/tags/3.0.5/classes/Forms.php#L1074>
- <https://plugins.trac.wordpress.org/changeset?reponame=&old=3603849%40wpforo&new=3603849%40wpforo>

## Sources

- CVE List: [CVE-2026-15021](https://www.cve.org/CVERecord?id=CVE-2026-15021), CVE Terms of Use, modified 2026-07-16
- NVD: [CVE-2026-15021](https://nvd.nist.gov/vuln/detail/CVE-2026-15021), Public domain, modified 2026-07-16

---

Page: https://cve.day/CVE-2026-15021 · Whole record: https://cve.day/CVE-2026-15021.json · Rebuilt by cve.day 2026-11-25T22:59:28.375Z
