What happened
The Kognetiks Chatbot plugin is vulnerable to stored DOM-based XSS via the 'comment' parameter due to insufficient input sanitization/output escaping, allowing unauthenticated injection of arbitrary web scripts that run when a user views the injected page. CVSS 3.1 7.2.
Why it matters
A WordPress AI chatbot plugin rendering LLM output reflects attacker-influenced content into the browser; the stored XSS lets an unauthenticated attacker run script in the context of users viewing AI chat pages, affecting chatbot deployments on WP sites.
Attack vector
CWE-79 stored DOM-based XSS via the 'comment' parameter produced during AI chat rendering; MathJax is enabled by default, so the no-HTML-tag payload survives comment sanitization and executes in a visitor's browser.
Affected systems
Kognetiks Chatbot (WordPress) <= 2.5.9
Mitigation
Update the Kognetiks Chatbot plugin past 2.5.9 (plugin changeset 3809601).