CVE-2026-127115 in BuddyForms Plugininfo

Summary

by MITRE • 11/14/2026

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.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 11/14/2026

The BuddyForms plugin for WordPress, specifically versions up to and including 2.10.6, contains a critical security vulnerability classified as Stored Cross-Site Scripting (XSS). This flaw resides within the handling of the buddyforms_form_content parameter, which is responsible for processing form content data submitted by users. The root cause of this vulnerability is insufficient input sanitization combined with inadequate output escaping during the rendering process. Because the application fails to properly validate or encode user-supplied data before storing it in the database and subsequently displaying it on web pages, malicious actors can inject arbitrary JavaScript code into these forms. This type of flaw aligns directly with CWE-79, which defines Improper Neutralization of Input During Web Page Generation as a common weakness leading to XSS attacks.

The operational impact of this vulnerability is severe due to its stored nature and the specific configuration requirements that make it exploitable by unauthenticated attackers. Unlike reflected XSS, where malicious scripts are executed immediately upon request, stored XSS persists on the target server until removed. In the context of BuddyForms, an attacker can submit a form containing malicious script payloads through any public-facing form endpoint. The vulnerability is particularly dangerous because it does not require authentication; anyone with access to the internet and knowledge of the site's URL structure can exploit this flaw. Once the payload is stored in the database, every subsequent user who views or interacts with that specific page will have their browser execute the injected scripts. This condition is readily met by default configurations, such as the bundled Post Simple template, which enables public submission out of the box without requiring additional administrative setup to expose the attack surface.

From a threat actor perspective, this vulnerability facilitates attacks categorized under MITRE ATT&CK technique T1059, specifically Command and Scripting Interpretation via browser-based execution. Successful exploitation allows attackers to perform session hijacking by stealing administrator or user cookies, leading to unauthorized access to sensitive accounts. It also enables keylogging, credential harvesting through fake login forms injected into the page context, and defacement of the website content. Furthermore, stored XSS can be leveraged as a vector for drive-by downloads if combined with other exploits targeting browser vulnerabilities. The persistence of the payload means that even after the initial attack is discovered, all users who have visited the compromised page may already have been affected, creating a widespread impact across the user base.

Mitigation strategies must address both immediate remediation and long-term security hygiene. The primary solution is to upgrade the BuddyForms plugin to version 2.10.7 or later, where developers have implemented proper input sanitization and output escaping mechanisms for the buddyforms_form_content parameter. For organizations unable to update immediately due to compatibility constraints, temporary mitigations include disabling public submission capabilities on affected forms until an update can be applied. Additionally, implementing a Web Application Firewall (WAF) with rules tuned to detect and block common XSS payloads in form submissions can provide a layer of defense-in-depth. Security teams should also audit other plugins for similar patterns of insufficient input validation and ensure that Content Security Policy headers are configured to restrict the execution of inline scripts where possible, thereby reducing the impact if such vulnerabilities persist or emerge in future updates.

Responsible

Wordfence

Reservation

11/12/2026

Disclosure

11/14/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

low

Sources

Do you know our Splunk app?

Download it now for free!