CVE-2026-107658
Dashboard / Vulnerabilities / CVE-2026-107658
CVE-2026-107658
Summary: BuddyForms <= 2.10.5 - Unauthenticated Stored Cross-Site Scripting via 'bf_post_type' Parameter via Post-Type Confusion
Details: 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.
References: https://github.com/Themekraft/buddyforms/pull/779/files, https://plugins.trac.wordpress.org/browser/buddyforms/tags/2.10.2/includes/form/form-ajax.php#L96, https://plugins.trac.wordpress.org/browser/buddyforms/tags/2.10.2/includes/form/form-control.php#L258, https://plugins.trac.wordpress.org/browser/buddyforms/tags/2.10.2/includes/form/form-control.php#L261, https://plugins.trac.wordpress.org/browser/buddyforms/tags/2.10.2/includes/form/form-control.php#L359, https://plugins.trac.wordpress.org/browser/buddyforms/tags/2.10.2/includes/form/form-control.php#L604, https://plugins.trac.wordpress.org/browser/buddyforms/tags/2.10.2/includes/form/form-control.php#L642, https://plugins.trac.wordpress.org/changeset/3780268/buddyforms/trunk/includes/form/form-control.php, https://www.wordfence.com/threat-intel/vulnerabilities/id/ec36eff4-0f85-4d89-b209-aaf07ae2ff9c?source=cve, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107658.json, https://nvd.nist.gov/vuln/detail/CVE-2026-107658
Affected packages
Package
Name:
Purl:
Affected ranges
Type: GIT
Events:
