Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-4279: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in breadbutter Bread & Butter: AI-Powered Lead Intelligence

0
Medium
VulnerabilityCVE-2026-4279cvecve-2026-4279cwe-79
Published: Wed Apr 22 2026 (04/22/2026, 07:45:29 UTC)
Source: CVE Database V5
Vendor/Project: breadbutter
Product: 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

AILast updated: 04/22/2026, 08:47:38 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses