CVE-2026-131645: Kognetiks Chatbot <= 2.5.9 - Unauthenticated Stored DOM-Based Cross-Site Scripting via 'comment' Parameter via MathJax Rendering

Published Nov 20, 2026
·
Updated

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 'chatbotchatgptenablemathjax' option defaulting to 'Yes' with no page or shortcode presence guard on enqueue.

Affected Software

1 affected component
Kognetiks Kognetiks Chatbot<=2.5.9

Event History

Nov 20, 2026
CVE Published
via MITRE·07:53 AM
Data Sourced
via MITRE·07:53 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:18 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Are fresh installations affected by default?

Yes. MathJax is enabled by default through the chatbot_chatgpt_enable_mathjax option, which defaults to "Yes," and it is enqueued without checking for page or shortcode presence.

2

Does exploitation require an authenticated WordPress account or user interaction?

No attacker authentication is required. An attacker can submit a crafted comment parameter containing a TeX payload; the injected script executes when a user later accesses the affected page.

3

Why does normal WordPress comment filtering not prevent this payload?

The TeX payload contains no HTML tags, so it can survive WordPress core comment kses filtering intact before MathJax renders it.

4

What can be done if updating is not immediately possible?

Disable MathJax by setting the chatbot_chatgpt_enable_mathjax option to something other than "Yes." Review pages for injected comments or TeX payloads, since previously stored payloads may execute when affected pages are visited.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203