medium · CVSS v3 5.4
CVE-2026-107658
BuddyForms plugin for WordPress up to 2.10.5 is vulnerable to stored XSS via bf_post_type and buddyforms_form_content parameters. Attackers
Overview
BuddyForms plugin for WordPress up to 2.10.5 is vulnerable to stored XSS via bf_post_type and buddyforms_form_content parameters. Attackers can inject scripts that run on any user visiting the site, potentially compromising user sessions or defacing the site. The flaw requires a public form and a widgetized sidebar to deploy the payload.
Description
The BuddyForms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'bf_post_type (and buddyforms_form_content)' parameter in all versions up to, and including, 2.10.5 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. Exploitation requires that at least one BuddyForms form with public submissions enabled exists on the site (so that the required nonce can be harvested from the public form page) and that the active theme registers a widgetized sidebar, allowing the injected customize_changeset to place a malicious Custom HTML widget into the site's front end.
Impact
Confidentiality: attackers can steal user cookies or session data. Integrity: malicious scripts can alter page content. Availability: minimal direct impact but can degrade user experience. Defenders: site administrators, WordPress users with BuddyForms plugin.
Remediation
Update BuddyForms to version 2.10.6 or later. If update not possible, disable public form submissions or remove widgetized sidebars. Sanitize input and escape output for bf_post_type and buddyforms_form_content. Use a web application firewall to block XSS payloads.
Risk context
Medium severity (CVSS 5.4). No EPSS data available. The vulnerability is exploitable by unauthenticated users, so it poses a moderate risk to sites with public forms and widgetized sidebars.
Affected products
- BuddyForms 2.10.5
- BuddyForms <=2.10.5
Scores
- Severity
- medium
- CVSS v2
- 4
- CVSS v3
- 5.4
- CVSS v4
- —
- EPSS
- —