# CVE-2026-107658: BuddyForms plugin for WordPress stored XSS via form parameters

Source: https://junglewise.ai/threats/cve-2026-107658-the-buddyforms-plugin-for-wordpress-is-vulnerable-to-stored  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-06. Updated: 2026-11-06  
License: CC BY 4.0 with a link back

CVE-2026-107658 · Severity: medium · CVSS 5.4 · Published 2026-11-06

BuddyForms is a WordPress plugin that allows creation of dynamic forms for content submission. A flaw in input sanitization enables unauthenticated attackers to inject malicious scripts into pages that execute when users visit affected pages. Successful exploitation requires an active public form and a theme with widget support, allowing attackers to inject a malicious widget that runs arbitrary JavaScript in the browser.

Technologies: [Themekraft Buddyforms](https://junglewise.ai/threats/technologies/themekraft-buddyforms). Vendors: [Themekraft](https://junglewise.ai/threats/vendors/themekraft).

## Quick answers

**Is CVE-2026-107658 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-107658 being exploited in the wild.

**How severe is CVE-2026-107658?** Medium severity, with a CVSS score of 5.4, published 6 November 2026.

**Which products and versions are affected?** Themekraft Buddyforms up to and including 2.10.5.

**Is there a fix for CVE-2026-107658?** Yes: fixed in 2.10.6 or later (fix merged in develop branch as of October 2026). Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-107658 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-107658?** Check whether you run Themekraft Buddyforms at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 2.10.6 or later (fix merged in develop branch as of October 2026)

## Technical details

The plugin fails to properly sanitize and escape user input in the 'bf_post_type' and 'buddyforms_form_content' parameters, creating a stored XSS vulnerability. An unauthenticated attacker can harvest a valid nonce from a publicly accessible form, then inject malicious JavaScript that persists in the database and executes whenever a user accesses an affected page. The attack leverages WordPress's customize_changeset mechanism to inject a Custom HTML widget into a widgetized sidebar.

## Affected products

- Themekraft BuddyForms up to and including 2.10.5

## Timeline

- 2026-11-06: disclosed

## References

- [https://github.com/Themekraft/buddyforms/pull/779/files](https://github.com/Themekraft/buddyforms/pull/779/files)
- [https://plugins.trac.wordpress.org/browser/buddyforms/tags/2.10.2/includes/form/form-ajax.php](https://plugins.trac.wordpress.org/browser/buddyforms/tags/2.10.2/includes/form/form-ajax.php)

## Related threats

- [BuddyForms privilege escalation via form-type confusion](https://junglewise.ai/threats/cve-2026-107622-the-buddyforms-plugin-for-wordpress-is-vulnerable-to-privilege)
- [Missing Authorization vulnerability in Themekraft BuddyForms buddyforms allows Accessing Functionality Not Properly…](https://junglewise.ai/threats/cve-2025-62973-missing-authorization-vulnerability-in-themekraft-buddyforms)
