Executive brief
A vulnerability exists in the WPBot plugin for WordPress, which is used to provide AI-driven customer support and lead generation. An attacker can inject malicious scripts into the chatbot's conversation logs, which will then execute when an administrator or other user views those logs. This could lead to unauthorized actions being performed in the context of a site administrator's session, potentially compromising the website.
Technical details
The WPBot plugin for WordPress is vulnerable to Stored Cross-Site Scripting (XSS) due to insufficient sanitization and escaping on the 'conversation' parameter. The vulnerability is exploitable by unauthenticated attackers because the AJAX nonce required to authenticate the 'save' request is publicly emitted on every frontend page via the wp_localize_script function. By leveraging this nonce, an attacker can send a crafted request to store arbitrary JavaScript in the database. These scripts are then executed in the browser of any user (typically an administrator viewing chat logs) who accesses the page where the conversation is rendered. The issue affects all versions up to and including 8.4.9.
Affected products
- QuantumCloud WPBot – AI ChatBot for Live Support, Lead Generation, AI Services up to, and including, 8.4.9
Timeline
- 2026-07-01: advisory: NVD published the CVE record based on Wordfence data.
References
- https://plugins.trac.wordpress.org/browser/chatbot/tags/8.4.9/functions.php
- https://plugins.trac.wordpress.org/browser/chatbot/tags/8.4.9/includes/chat-sessions/reports/view/partials/view-single-chat.php
- https://plugins.trac.wordpress.org/browser/chatbot/tags/8.4.9/includes/chat-sessions/wpbot-chat-sessions.php
- https://plugins.trac.wordpress.org/browser/chatbot/tags/8.4.9/includes/chat-sessions/wpbot-chat-sessions.php
- https://plugins.trac.wordpress.org/browser/chatbot/tags/8.4.9/qcld-wpwbot.php
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3591600%40chatbot&new=3591600%40chatbot&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/124f2b72-d8da-46ba-844f-e9cc01441702?source=cve