Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate site with public BuddyForms form
-
DeliveryHarvest submission nonce from public form page
-
ExploitSubmit crafted bf_post_type customize_changeset
-
ExecutionInject malicious Custom HTML widget into sidebar
-
ImpactScript executes in visitors' browsers
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation is not generic: the site must have at least one BuddyForms form with public submissions enabled, because that public form page is where the attacker harvests the nonce needed to authorize the request, and the active WordPress theme must register a widgetized sidebar so the injected customize_changeset can place a malicious Custom HTML widget onto the front end. The abused input is the 'bf_post_type' (and 'buddyforms_form_content') parameter, unsanitized/unescaped in versions ≤2.10.5. Limiting factors that reduce realistic risk: both the public-submission form and the widgetized-sidebar theme must be present (a site with neither is not exploitable), and these combined requirements are what the CVSS vector reflects as AC:H despite PR:N/UI:N. Script execution then depends on a victim subsequently loading an affected page. |
| Impact | This is a medium-severity stored XSS (CVSS 5.4; CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N) whose real-world priority is tempered by its trigger conditions rather than by the network/unauthenticated metrics alone. The vector's PR:N confirms unauthenticated reachability and S:C reflects script execution in other users' browser context, which looks alarming in isolation; however, the AC:H rating is directly justified by the described multi-step precondition chain (a public-submission form must exist so a nonce can be harvested, and the active theme must register a widgetized sidebar so the injected customize_changeset can place a Custom HTML widget). No EPSS score and no CISA KEV entry are present in the supplied data, and no confirmed public exploit is listed - only a Wordfence advisory, WordPress trac source links, and the fixing GitHub PR - so there is no signal of active or widespread exploitation. The vuln.today decision label is 'this_month', consistent with a patch-this-cycle item rather than an emergency. Net: a genuine but conditional stored XSS best treated as routine-priority patching; the headline 'unauthenticated' qualifier should be read alongside the AC:H preconditions that materially narrow which sites are exploitable. |
| Exploit ScenarioDerived | On a site running BuddyForms ≤2.10.5 that exposes at least one form with public submissions enabled, an unauthenticated attacker visits that public form page to harvest the required nonce, then submits a crafted request abusing the 'bf_post_type'/'buddyforms_form_content' parameter to deliver a customize_changeset. If the active theme registers a widgetized sidebar, this plants a malicious Custom HTML widget on the front end, and the injected script then executes in the browser of any visitor who loads an affected page. No confirmed working public exploit is listed in the supplied data; only the Wordfence advisory and source/patch references are provided. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
Stored cross-site scripting in the Themekraft BuddyForms plugin for WordPress, affecting every version up to and including 2.10.5, lets unauthenticated attackers (PR:N per the CVSS vector) inject arbitrary web scripts through the bf_post_type and buddyforms_form_content parameters, which are insufficiently sanitized on input and not escaped on output. Rated CVSS 5.4 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N), its practical priority is set by the trigger conditions rather than by the network/unauthenticated metrics: the site must host at least one BuddyForms form with public submissions enabled, because that public form page is where the nonce authorizing the request is harvested, and the active theme must register a widgetized sidebar so the injected customize_changeset can place a malicious Custom HTML widget into the front end; the payload then executes when a victim loads an affected page. No public exploit code has been identified at the time of analysis, and the upstream fix (PR #779 plus changeset 3780268, marked @since 2.10.6) stops the front end from reaching the form-builder save routine and forces the post type to come from the saved form instead of the request.
RemediationAI
Upgrade BuddyForms to the fixed build identified in the upstream patch - PR #779 (https://github.com/Themekraft/buddyforms/pull/779/files) and Trac changeset 3780268, whose docblocks are marked @since 2.10.6, so 2.10.6 is the version to target; a tagged 2.10.6 package is not independently confirmed in the supplied data, so verify the installed version after updating and re-check the advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/ec36eff4-0f85-4d89-b209-aaf07ae2ff9c?source=cve. The fix adds a per-form builder nonce and an edit_post capability check to the form-builder save, forces the submitted post type to come from the saved form rather than the request's bf_post_type, and preserves the protected options (form_type, public_submit, public_submit_create_account, registration) for non-admin requests. Where immediate patching is not possible, remove both preconditions: disable public submissions on every BuddyForms form, which closes the nonce-harvesting step at the cost of blocking legitimate guest submissions, and move to a theme whose active sidebar/widget configuration is not used to carry an injected Custom HTML widget through customize_changeset, noting that changing themes is disruptive to site layout. Also audit existing customize_changeset entries and Custom HTML widgets for injected script content, since the payload is stored rather than reflected.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-79 cross-site scripting issue rooted in the plugin's handling of form submissions: the submission handler trusted request-supplied values such as bf_post_type (and buddyforms_form_content) rather than deriving the target post type from the stored form definition, and the form-builder save path lacked a builder-specific nonce and capability gate that could distinguish an administrative save from a front-end submission. The vendor patch illustrates the root cause directly - buddyforms_process_submission() now calls buddyforms_get_form_post_type() and ignores the request's bf_post_type and post_type so a submission can never create or edit posts of another type, forms included; buddyforms_is_form_builder_save() verifies a per-form builder nonce plus current_user_can('edit_post') before accepting builder data; and options that control who may submit (form_type, public_submit, public_submit_create_account, registration) are preserved from stored values on any non-admin or unauthenticated request. The stored payload is persisted through WordPress's customize_changeset post type, from which a Custom HTML widget is rendered on the front end, which is why the vector scores S:C - impact moves from the plugin into the wider WordPress site. Successful exploitation therefore depends on two site-specific preconditions (a publicly submittable form and a widgetized sidebar in the active theme), matching the AC:H rating despite PR:N and UI:N; once the widget is stored, script execution occurs whenever a victim loads the affected page.
Know when Buddyforms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
AC:H because exploitation requires a public-submission form (for the nonce) plus a widgetized-sidebar theme; PR:N/UI:N per unauthenticated injection; S:C with C:L/I:L for script running in visitors' browser context.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Buddyforms
View allThe BuddyForms WordPress plugin, in versions prior to 2.7.8, was affected by an unauthenticated insecure deserialization
Unauthenticated privilege escalation in the BuddyForms WordPress plugin through 2.10.5 lets a remote attacker plant a ro
Local file inclusion in the BuddyForms WordPress plugin through 2.8.15 allows an authenticated attacker with low privile
The Post Form - Registration Form - Profile Form for User Profiles - Frontend Content Forms for User Submissions (UGC) p
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in ThemeKraft BuddyForms al
The BuddyForms plugin for WordPress is vulnerable to Email Verification Bypass in all versions up to, and including, 2.8
Unauthenticated broken access control in the BuddyForms WordPress plugin (ThemeKraft, versions ≤ 2.9.0) permits remote u
The Post Form - Registration Form - Profile Form for User Profiles - Frontend Content Forms for User Submissions (UGC) p
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Themekraft BuddyFo
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in ThemeKraft BuddyFo
Stored cross-site scripting in the BuddyForms plugin for WordPress (all versions up to and including 2.10.6) lets unauth
BuddyForms WordPress plugin versions through 2.10.2 contain a missing authorization flaw that lets unauthenticated remot
EUVD-2026-118198
GHSA-cmj3-q4qh-2qvf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB