CVE-2026-4279
Last modified
CVE-2026-4279 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-4279?
How severe is CVE-2026-4279?
How do I fix CVE-2026-4279?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-42781When embedded Packet Velocity Acceleration (ePVA) accelerati…7.1
- CVE-2026-42782Improper Isolation or Compartmentalization vulnerability in …7.2
- CVE-2026-42785OpenKM 6.3.12 contains a remote code execution vulnerability…8.6
- CVE-2026-42786Allocation of Resources Without Limits or Throttling vulnera…8.7
- CVE-2026-42788Allocation of Resources Without Limits or Throttling vulnera…6.9
- CVE-2026-42789Improper Following of a Certificate's Chain of Trust vulnera…4.8
- CVE-2026-42790Improper Certificate Validation vulnerability in Erlang OTP …8.1
- CVE-2026-42791Improper Certificate Validation vulnerability in Erlang OTP …3.7
- CVE-2026-42792Improper Handling of Exceptional Conditions vulnerability in…7.5
- CVE-2026-42793Allocation of Resources Without Limits or Throttling vulnera…7.5
- CVE-2026-42794Improper Neutralization of Input During Web Page Generation …6.1
- CVE-2026-42795Symlink following vulnerability in Gleam's Hex package expor…5.1
Are you affected by CVE-2026-4279?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
