# CodeBard's Patron Button and Widgets for Patreon <= 2.3.2 - Unauthenticated Arbitrary Plugin Method Invocation to Settings Modification and Local File Inclusion via 'cb_p6_action' Parameter

- **ID:** WPSEC-2026-4445
- **Plugin:** CodeBard’s Patron Button and Widgets for Patreon (`patron-button-and-widgets-by-codebard`), https://wordpress.org/plugins/patron-button-and-widgets-by-codebard/
- **Affected versions:** from 2.0.0 before 2.3.3
- **Fixed in:** 2.3.3 (Update to 2.3.3 or later.)
- **Severity:** Critical 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
- **Weakness:** CWE-98
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/patron-button-and-widgets-by-codebard
- **Fix released:** 2026-12-01
- **Published:** 2026-12-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4445/

## Description

The CodeBard’s Patron Button and Widgets for Patreon plugin for WordPress is vulnerable to unsafe dynamic method invocation leading to Local File Inclusion via the 'cb_p6_action' request parameter in all versions up to, and including, 2.3.2. This is due to the plugin's init handlers calling the requested value directly as a method on the plugin object, so internal methods with a '_c' or '_p' suffix bypass the request allowlist enforced in __call(), and these methods have no capability or nonce checks. This makes it possible for unauthenticated attackers to call internal plugin methods with request data. They can overwrite the plugin settings through update_settings_c, create or modify posts through insert_wp_post_c, and send email through send_email_c. Because the stored 'lang' setting is later used without validation to build a path passed to include(), they can also include and execute arbitrary .php files on the server, which can lead to remote code execution.

## References

- https://wpsec.com/vuln/WPSEC-2026-4445/
- https://plugins.svn.wordpress.org/patron-button-and-widgets-by-codebard/tags/2.3.3/
- https://wordpress.org/plugins/patron-button-and-widgets-by-codebard/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4445/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
