CVE-2026-4327: The Welcomizer <= 2.8.1 - Missing Authorization to Authenticated (Subscriber+) Remote Code Execution via 'twiz_custom_logic' Parameter

Published Sep 19, 2026
·
Updated

The The Welcomizer plugin for WordPress is vulnerable to Remote Code Execution in all versions up to and including 2.8.1. This is due to missing authorization checks on the twizajaxcallback AJAX action's 'savesection' handler combined with the use of eval() to execute user-supplied 'custom logic' code on the frontend. The AJAX handler at twiz-ajax.php verifies a nonce but performs no currentusercan() capability check for the ACTIONSAVESECTION case. Furthermore, the nonce is exposed to any authenticated user through the directly-accessible twiz-ajax.js.php file which loads WordPress and outputs the nonce. This makes it possible for authenticated attackers, with Subscriber-level access and above, to inject arbitrary PHP code via the twizcustomlogic POST parameter when saving a section with output choice 'twizlogicoutput'.

Affected Software

1 affected component
The Welcomizer Welcomizer plugin for WordPress<=2.8.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade WordPress Welcomizer plugin to a version that resolves this vulnerability.

    Fixed in 2.8.1
  2. Configuration

    Add a capability/authorization check (current_user_can()) to the ACTION_SAVE_SECTION handler in the twiz_ajax_callback AJAX action in twiz-ajax.php before processing any requests.

    Welcomizer WordPress plugin (twiz-ajax.php / twiz_ajax_callback savesection handler) current_user_can() authorization check for ACTION_SAVE_SECTION = true
  3. Configuration

    Do not execute user-supplied code from the twiz_custom_logic POST parameter via eval() on the frontend; remove/disable eval-based execution for twiz_custom_logic when saving sections with output choice 'twiz_logic_output'.

    Welcomizer WordPress plugin (twiz-ajax.php / twiz_ajax_callback 'twiz_custom_logic' execution) eval() usage for user-supplied twiz_custom_logic = disabled
  4. Compensating control

    Restrict access to the AJAX endpoint (twiz-ajax.js.php / twiz-ajax.php) so only users with an appropriate administrative capability can call the twiz_ajax_callback 'savesection' handler.

Event History

Sep 19, 2026
CVE Published
via MITRE·07:43 AM
Data Sourced
via MITRE·07:43 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which users can exploit this issue?

Any authenticated WordPress user with Subscriber-level access or higher can exploit it. The vulnerable AJAX handler checks a nonce but does not enforce a WordPress capability check.

2

Does an attacker need to obtain the nonce from an administrator or privileged user?

No. The nonce is exposed to authenticated users through the directly accessible twiz-ajax.js.php file, which loads WordPress and outputs the nonce.

3

What conditions are required for code execution?

An authenticated attacker must submit arbitrary PHP through the twiz_custom_logic POST parameter while saving a section configured with the twiz_logic_output output choice. The supplied custom logic is executed with eval() on the frontend.

4

Which plugin versions are affected?

All versions of The Welcomizer up to and including 2.8.1 are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203