CVE-2026-4279: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in breadbutter Bread & Butter: AI-Powered Lead Intelligence
The Bread & Butter plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'breadbutter-customevent-button' shortcode in all versions up to, and including, 8.2.0.25. This is due to insufficient input sanitization and output escaping on the 'event' shortcode attribute. The customEventShortCodeButton() function takes the 'event' attribute value and directly interpolates it into a JavaScript string within an onclick HTML attribute without applying esc_attr() or esc_js(). Notably, the sister function customEventShortCode() properly uses esc_js() for the same attribute, but this was omitted in the button variant. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses the page and clicks the injected button.
AI Analysis
Technical Summary
CVE-2026-4279 is a stored cross-site scripting vulnerability in the Bread & Butter WordPress plugin's 'breadbutter-customevent-button' shortcode. The issue arises from insufficient input sanitization and output escaping of the 'event' shortcode attribute in the customEventShortCodeButton() function. Unlike the related customEventShortCode() function, which properly escapes this input, the button variant directly interpolates the attribute into a JavaScript string within an onclick attribute without using esc_attr() or esc_js(). This flaw allows authenticated users with Contributor or higher privileges to inject arbitrary JavaScript that executes when the injected button is clicked by any user viewing the page. The vulnerability affects all versions up to and including 8.2.0.25. No patch or official fix has been disclosed as of the published date.
Potential Impact
An attacker with Contributor-level or higher access can inject malicious JavaScript code into pages via the vulnerable shortcode attribute. This code executes in the context of users who view and interact with the injected button, potentially leading to session hijacking, privilege escalation, or other client-side attacks. The vulnerability does not allow unauthenticated exploitation and requires user interaction (clicking the injected button). The CVSS score of 6.4 reflects a medium impact with low attack complexity and no user interaction required for the initial injection but required for script execution.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict Contributor-level access to trusted users only to reduce risk. Avoid using the 'breadbutter-customevent-button' shortcode with untrusted input. Monitor for plugin updates from the vendor that address this vulnerability.
CVE-2026-4279: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in breadbutter Bread & Butter: AI-Powered Lead Intelligence
Description
The Bread & Butter plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'breadbutter-customevent-button' shortcode in all versions up to, and including, 8.2.0.25. This is due to insufficient input sanitization and output escaping on the 'event' shortcode attribute. The customEventShortCodeButton() function takes the 'event' attribute value and directly interpolates it into a JavaScript string within an onclick HTML attribute without applying esc_attr() or esc_js(). Notably, the sister function customEventShortCode() properly uses esc_js() for the same attribute, but this was omitted in the button variant. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses the page and clicks the injected button.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-4279 is a stored cross-site scripting vulnerability in the Bread & Butter WordPress plugin's 'breadbutter-customevent-button' shortcode. The issue arises from insufficient input sanitization and output escaping of the 'event' shortcode attribute in the customEventShortCodeButton() function. Unlike the related customEventShortCode() function, which properly escapes this input, the button variant directly interpolates the attribute into a JavaScript string within an onclick attribute without using esc_attr() or esc_js(). This flaw allows authenticated users with Contributor or higher privileges to inject arbitrary JavaScript that executes when the injected button is clicked by any user viewing the page. The vulnerability affects all versions up to and including 8.2.0.25. No patch or official fix has been disclosed as of the published date.
Potential Impact
An attacker with Contributor-level or higher access can inject malicious JavaScript code into pages via the vulnerable shortcode attribute. This code executes in the context of users who view and interact with the injected button, potentially leading to session hijacking, privilege escalation, or other client-side attacks. The vulnerability does not allow unauthenticated exploitation and requires user interaction (clicking the injected button). The CVSS score of 6.4 reflects a medium impact with low attack complexity and no user interaction required for the initial injection but required for script execution.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict Contributor-level access to trusted users only to reduce risk. Avoid using the 'breadbutter-customevent-button' shortcode with untrusted input. Monitor for plugin updates from the vendor that address this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-16T15:41:42.321Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e8877019fe3cd2cd80900f
Added to database: 4/22/2026, 8:31:44 AM
Last enriched: 4/22/2026, 8:47:38 AM
Last updated: 4/23/2026, 1:01:30 AM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.