BuddyForms <= 2.10.6 - Unauthenticated Stored Cross-Site Scripting via 'title' Attribute of [bf_login_form] Shortcode
Strategic Overview
- Status
- Patched in 2.10.7
- Affected Plugin
- BuddyForms
- Affected Version
<= 2.10.6- CVSS
- 5.4Medium
- Weakness type
- CWE-79 · Improper Neutralization of Input During Web Page Generation
- CVE
CVE-2026-127115
At a glance
CVE-2026-127115 is a medium-severity Improper Neutralization of Input During Web Page Generation vulnerability in the BuddyForms WordPress plugin, affecting versions <= 2.10.6. It carries a CVSS score of 5.4 (reachable over the network). Exploitation requires no authentication. The issue is fixed in version 2.10.7; sites on affected versions should update now. Disclosed November 2026, reported by Mohamed Amgad Khater (mamgad).
Vulnerability Overview
The BuddyForms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'buddyforms_form_content' parameter in all versions up to, and including, 2.10.6 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is exploitable when a form configured with the public_submit option is published — a condition met by the plugin's bundled Post Simple template out of the box.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, and no privileges on the target site, and no interaction from a victim user.
CWE-79: Improper Neutralization of Input During Web Page Generation
BuddyForms <= 2.10.6 carries this weakness at buddyforms_form_content, and reaching it takes no account at all. Cross-site scripting happens when input from a request is written into a page without being escaped for the context it lands in, so the browser parses attacker-supplied text as markup or script.
Injected script runs with the privileges of whoever views the affected page, which is how these flaws turn into administrator session theft, silent account creation or persistent backdoors in page content. For BuddyForms the fix is 2.10.7: builds <= 2.10.6 are affected, anything from 2.10.7 onward is not.
Remediation
Update to version 2.10.7, or a newer patched version
How does WordSec protect against this?
Requests carrying this pattern arrive without a session, so nothing upstream of the firewall gets a chance to reject them: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: BuddyForms 2.10.7 closes this, and updating the plugin is the step that ends it.
- Firewall
- Login Security
- Alerts
External References
Related records
Same weakness class
- 6.4CVE-2024-12038: Frontend Content Forms for User Submissions Stored XSS
CVE-2024-12038 - 6.4CVE-2024-12037: Frontend Content Forms for User Submissions Stored XSS
CVE-2024-12037 - 6.4CVE-2023-25981: Post, Registration and Profile Form… Stored XSS
CVE-2023-25981 - 6.4CVE-2022-38971: BuddyForms <= 2.7.2 Stored Stored Cross-Site Scripting
CVE-2022-38971
Other vulnerabilities in BuddyForms
- 9.8CVE-2026-107622: BuddyForms Privilege Escalation
CVE-2026-107622 - 9.8CVE-2018-21003: Post, Registration and Profile Form… SQL Injection
CVE-2018-21003 - 9.3CVE-2024-32830: BuddyForms <= 2.8.8 Arbitrary File Read and SSRF
CVE-2024-32830 - 8.8CVE-2025-32151: BuddyForms <= 2.8.17 Local File Inclusion
CVE-2025-32151 - 8.8CVE-2024-8246: Post Form Privilege Escalation
CVE-2024-8246 - 8.8CVE-2023-26326: BuddyForms <= 2.7.7 PHAR Deserialization
CVE-2023-26326 - 8.8Freemius SDK <= 2.2.3 Arbitrary Options Update
- 8.2CVE-2024-1170: Post Form Unauthenticated Media Deletion
CVE-2024-1170
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C