PT-2026-34299 · WordPress · Bread & Butter
Athiwat Tiprasaharn
·
Published
2026-04-22
·
Updated
2026-05-01
·
CVE-2026-4279
CVSS v3.1
6.4
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Bread & Butter versions prior to 8.2.0.26
Description
Stored Cross-Site Scripting is possible via the 'breadbutter-customevent-button' shortcode. The
customEventShortCodeButton() function fails to apply proper input sanitization and output escaping on the event shortcode attribute, directly interpolating the value into a JavaScript string within an onclick HTML attribute. This allows authenticated attackers with Contributor-level access and above to inject arbitrary web scripts that execute when a user clicks the injected button.Recommendations
Update to a version newer than 8.2.0.25.
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Bread & Butter