Siteorigin Widgets Bundle
The SiteOrigin Widgets Bundle plugin for WordPress contains a Local File Inclusion flaw. Authenticated attackers with contributor-level access or higher can include and execute arbitrary .php files on the server, potentially bypassing access controls, obtaining sensitive data, or achieving remote code execution if .php files can be uploaded. This occurs when a malicious `widgetData` payload containing a legacy top-level `theme` key and a non-empty `columns` array is sent to the '/wp-json/sowb/v1/widgets/previews' REST endpoint. The issue persists because the `update fields()` function only processes declared form fields, allowing the `theme` parameter to bypass validation.