CVE-2026-131645
The Kognetiks Chatbot plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'comment' parameter in all versions up to, and includ…
Impact
The Kognetiks Chatbot plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 2.5.9 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The TeX payload survives WordPress core comment kses intact because it contains no HTML tags, and MathJax is active on fresh installs by default due to the 'chatbot_chatgpt_enable_mathjax' option defaulting to 'Yes' with no page or shortcode presence guard on enqueue.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.
Affected products · Kognetiks
| Product | Affected versions |
|---|---|
| Kognetiks Chatbot | through 2.5.9 Version 0 ≤2.5.9 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1398d5b4-2be8-4586-a903-cdb93136f3f4?source=cve
- https://plugins.trac.wordpress.org/browser/chatbot-chatgpt/tags/2.5.9/chatbot-chatgpt.php#L727
- https://plugins.trac.wordpress.org/browser/chatbot-chatgpt/tags/2.5.9/chatbot-chatgpt.php#L742
- https://plugins.trac.wordpress.org/browser/chatbot-chatgpt/tags/2.5.9/includes/settings/chatbot-settings-appearance.php#L142
- https://plugins.trac.wordpress.org/browser/chatbot-chatgpt/tags/2.5.9/chatbot-chatgpt.php#L730
- https://plugins.trac.wordpress.org/changeset/3809601/chatbot-chatgpt/trunk/chatbot-chatgpt.php
- https://github.com/advisories/GHSA-cpv4-r2rw-vqx6
- https://nvd.nist.gov/vuln/detail/CVE-2026-131645