Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2026-12041

CVE-2026-12041: Chatra Live Chat WordPress XSS Vulnerability

CVE-2026-12041 is a stored cross-site scripting vulnerability in the Chatra Live Chat plugin for WordPress affecting versions up to 1.0.12. This article covers the technical details, affected versions, and mitigation steps.

Published:

CVE-2026-12041 Overview

CVE-2026-12041 is a Stored Cross-Site Scripting (XSS) vulnerability [CWE-79] in the Chatra Live Chat + ChatBot + Cart Saver plugin for WordPress. The flaw affects all versions up to and including 1.0.12. Insufficient input sanitization and output escaping in the plugin's admin settings allow authenticated attackers with administrator-level permissions to inject arbitrary web scripts. Injected scripts execute when users access affected pages. The vulnerability only impacts multi-site WordPress installations and single-site installations where the unfiltered_html capability has been disabled.

Critical Impact

Authenticated administrators on WordPress multi-site deployments can persist JavaScript payloads that execute in the browsers of visiting users, enabling session theft, privilege escalation, and content manipulation.

Affected Products

  • Chatra Live Chat + ChatBot + Cart Saver plugin for WordPress
  • All versions up to and including 1.0.12
  • WordPress multi-site installations and installations with unfiltered_html disabled

Discovery Timeline

  • 2026-07-08 - CVE-2026-12041 published to NVD
  • 2026-07-08 - Last updated in NVD database

Technical Details for CVE-2026-12041

Vulnerability Analysis

The Chatra Live Chat plugin exposes administrative settings that accept configuration input without applying sufficient sanitization on write or escaping on output. An authenticated user with administrator privileges can submit crafted JavaScript payloads through these settings. The plugin then stores the payload and later renders it into pages served to users. The stored nature of the flaw means a single injection persists until the malicious content is manually removed.

The issue is scoped to WordPress multi-site networks and installations where the unfiltered_html capability has been revoked. In default single-site WordPress deployments, administrators legitimately hold unfiltered_html, which permits raw HTML in settings and reduces the security boundary crossed by this behavior. Multi-site network administrators strip this capability from site administrators, elevating the sanitization gap into a cross-privilege issue. The attack requires high privileges and high complexity but achieves scope change, affecting components beyond the vulnerable plugin.

Root Cause

The root cause is missing input sanitization and missing output escaping in the plugin's admin settings handler. Code paths in chatra.php around lines 33 and 61 handle settings values without invoking WordPress escaping functions such as esc_attr(), esc_html(), or wp_kses() before rendering. Consult the WordPress Plugin Code Review at line 33 and line 61 for the vulnerable source.

Attack Vector

Exploitation requires an authenticated session with administrator-level permissions in a multi-site network or in an installation where unfiltered_html has been disabled. The attacker navigates to the Chatra plugin settings, submits a JavaScript payload through a vulnerable input field, and saves the configuration. The stored script executes in the browser of any visitor rendering a page that includes the tainted setting, running in the origin of the WordPress site.

No verified proof-of-concept code is publicly available. See the Wordfence Vulnerability Report for additional technical context.

Detection Methods for CVE-2026-12041

Indicators of Compromise

  • Unexpected <script> tags, on* event handlers, or JavaScript URIs stored in the Chatra plugin option rows within the wp_options table.
  • Outbound requests from visitor browsers to attacker-controlled domains originating from pages that render Chatra settings.
  • Administrator account activity modifying Chatra plugin settings outside of expected change windows.

Detection Strategies

  • Audit the wp_options table for Chatra-related keys and inspect values for HTML or JavaScript content.
  • Monitor WordPress admin logs for options.php POST requests targeting Chatra settings by administrator accounts.
  • Deploy Content Security Policy (CSP) reporting to surface inline script execution originating from stored plugin data.

Monitoring Recommendations

  • Enable file integrity monitoring on the wp-content/plugins/chatra-live-chat/ directory.
  • Alert on administrator role changes and privilege modifications on multi-site networks.
  • Capture WordPress audit logs to a centralized store and search for anomalous settings updates.

How to Mitigate CVE-2026-12041

Immediate Actions Required

  • Update the Chatra Live Chat + ChatBot + Cart Saver plugin to a version later than 1.0.12 once the vendor releases a fix.
  • Review current Chatra plugin settings on all sites and remove any HTML or JavaScript content from configuration fields.
  • Restrict administrator account creation on multi-site networks and enforce multi-factor authentication for privileged users.

Patch Information

At the time of publication, no fixed version was listed in the NVD entry. Monitor the Wordfence advisory and the plugin's WordPress.org page for release announcements and apply updates promptly.

Workarounds

  • Deactivate the Chatra Live Chat plugin on multi-site networks until a patched version is available.
  • Enforce a strict Content Security Policy that disallows inline scripts to reduce the impact of stored payloads.
  • Limit the number of accounts holding administrator privileges on affected multi-site installations.
bash
# Identify Chatra plugin option values that may contain injected script content
wp db query "SELECT option_name, option_value FROM wp_options WHERE option_name LIKE '%chatra%';"

# Deactivate the plugin network-wide until a patched release is available
wp plugin deactivate chatra-live-chat --network

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.