CVE-2025-13887: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wisdmlabs AI BotKit – AI Chatbot & Live Support for WordPress (No-Code)
The AI BotKit – AI Chatbot & Live Support for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' parameter in the `ai_botkit_widget` shortcode in all versions up to, and including, 1.1.7 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2025-13887 identifies a stored Cross-Site Scripting (XSS) vulnerability in the AI BotKit – AI Chatbot & Live Support for WordPress plugin, a no-code solution for integrating AI chatbots and live support into WordPress websites. The vulnerability arises from improper neutralization of input during web page generation, specifically due to insufficient sanitization and escaping of the 'id' parameter within the ai_botkit_widget shortcode. This flaw allows authenticated users with Contributor-level permissions or higher to inject arbitrary JavaScript code that is stored persistently and executed whenever any user accesses the affected page. Since the vulnerability is stored XSS, the malicious payload can impact multiple users, including administrators and visitors, potentially leading to session hijacking, credential theft, or unauthorized actions performed in the context of the victim's browser session. The CVSS 3.1 base score of 6.4 reflects a medium severity, with the vector indicating network attack vector, low attack complexity, privileges required at the contributor level, no user interaction needed, and a scope change affecting confidentiality and integrity but not availability. No public exploits have been reported yet, but the vulnerability's presence in a widely used WordPress plugin increases the risk of future exploitation. The plugin's widespread adoption in European WordPress sites, particularly those with collaborative content management, heightens the threat to organizations relying on this software. The vulnerability underscores the importance of secure coding practices, especially input validation and output escaping in dynamic content generation within CMS plugins.
Potential Impact
For European organizations, this vulnerability poses a significant risk to the confidentiality and integrity of web applications using the AI BotKit plugin. Exploitation can lead to unauthorized script execution in users' browsers, enabling attackers to steal session cookies, perform actions on behalf of users, or deliver further malware. This can compromise sensitive customer data, internal communications, or administrative controls, potentially resulting in reputational damage, regulatory penalties under GDPR, and operational disruptions. Organizations with multiple contributors or editors on WordPress sites are particularly vulnerable, as the attack requires contributor-level access. The absence of user interaction for exploitation means automated attacks could be feasible once exploit code is developed. Given the plugin's role in customer interaction via chatbots, attackers might also manipulate chatbot responses or intercept user inputs, further increasing the risk surface. The medium severity rating suggests a moderate but non-negligible threat that requires timely remediation to prevent escalation.
Mitigation Recommendations
1. Monitor the vendor's announcements and update the AI BotKit plugin promptly once a security patch addressing CVE-2025-13887 is released. 2. Until an official patch is available, implement strict input validation and output escaping on the 'id' parameter in the ai_botkit_widget shortcode, either via custom code or security plugins that sanitize shortcode inputs. 3. Restrict Contributor-level permissions to trusted users only and review user roles to minimize the number of users who can inject content. 4. Employ Web Application Firewalls (WAF) with rules targeting stored XSS patterns to detect and block malicious payloads targeting this vulnerability. 5. Conduct regular security audits and code reviews of WordPress plugins and themes, focusing on input handling and output encoding. 6. Educate content contributors about the risks of injecting untrusted content and enforce strict content policies. 7. Enable Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers. 8. Monitor logs and user activity for unusual behavior indicative of exploitation attempts. 9. Backup website data regularly to enable recovery in case of compromise. 10. Consider isolating chatbot functionality or using alternative plugins with better security track records if immediate patching is not feasible.
Affected Countries
Germany, United Kingdom, France, Netherlands, Italy, Spain, Poland, Sweden
CVE-2025-13887: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wisdmlabs AI BotKit – AI Chatbot & Live Support for WordPress (No-Code)
Description
The AI BotKit – AI Chatbot & Live Support for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' parameter in the `ai_botkit_widget` shortcode in all versions up to, and including, 1.1.7 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Technical Analysis
CVE-2025-13887 identifies a stored Cross-Site Scripting (XSS) vulnerability in the AI BotKit – AI Chatbot & Live Support for WordPress plugin, a no-code solution for integrating AI chatbots and live support into WordPress websites. The vulnerability arises from improper neutralization of input during web page generation, specifically due to insufficient sanitization and escaping of the 'id' parameter within the ai_botkit_widget shortcode. This flaw allows authenticated users with Contributor-level permissions or higher to inject arbitrary JavaScript code that is stored persistently and executed whenever any user accesses the affected page. Since the vulnerability is stored XSS, the malicious payload can impact multiple users, including administrators and visitors, potentially leading to session hijacking, credential theft, or unauthorized actions performed in the context of the victim's browser session. The CVSS 3.1 base score of 6.4 reflects a medium severity, with the vector indicating network attack vector, low attack complexity, privileges required at the contributor level, no user interaction needed, and a scope change affecting confidentiality and integrity but not availability. No public exploits have been reported yet, but the vulnerability's presence in a widely used WordPress plugin increases the risk of future exploitation. The plugin's widespread adoption in European WordPress sites, particularly those with collaborative content management, heightens the threat to organizations relying on this software. The vulnerability underscores the importance of secure coding practices, especially input validation and output escaping in dynamic content generation within CMS plugins.
Potential Impact
For European organizations, this vulnerability poses a significant risk to the confidentiality and integrity of web applications using the AI BotKit plugin. Exploitation can lead to unauthorized script execution in users' browsers, enabling attackers to steal session cookies, perform actions on behalf of users, or deliver further malware. This can compromise sensitive customer data, internal communications, or administrative controls, potentially resulting in reputational damage, regulatory penalties under GDPR, and operational disruptions. Organizations with multiple contributors or editors on WordPress sites are particularly vulnerable, as the attack requires contributor-level access. The absence of user interaction for exploitation means automated attacks could be feasible once exploit code is developed. Given the plugin's role in customer interaction via chatbots, attackers might also manipulate chatbot responses or intercept user inputs, further increasing the risk surface. The medium severity rating suggests a moderate but non-negligible threat that requires timely remediation to prevent escalation.
Mitigation Recommendations
1. Monitor the vendor's announcements and update the AI BotKit plugin promptly once a security patch addressing CVE-2025-13887 is released. 2. Until an official patch is available, implement strict input validation and output escaping on the 'id' parameter in the ai_botkit_widget shortcode, either via custom code or security plugins that sanitize shortcode inputs. 3. Restrict Contributor-level permissions to trusted users only and review user roles to minimize the number of users who can inject content. 4. Employ Web Application Firewalls (WAF) with rules targeting stored XSS patterns to detect and block malicious payloads targeting this vulnerability. 5. Conduct regular security audits and code reviews of WordPress plugins and themes, focusing on input handling and output encoding. 6. Educate content contributors about the risks of injecting untrusted content and enforce strict content policies. 7. Enable Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers. 8. Monitor logs and user activity for unusual behavior indicative of exploitation attempts. 9. Backup website data regularly to enable recovery in case of compromise. 10. Consider isolating chatbot functionality or using alternative plugins with better security track records if immediate patching is not feasible.
Affected Countries
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-12-02T14:44:09.201Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 695e4c117349d0379d7d5691
Added to database: 1/7/2026, 12:05:37 PM
Last enriched: 1/7/2026, 12:09:56 PM
Last updated: 1/9/2026, 2:11:39 AM
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2026-22714: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in The Wikimedia Foundation Mediawiki - Monaco Skin
LowCVE-2026-22710: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in The Wikimedia Foundation Mediawiki - Wikibase Extension
LowCVE-2026-0733: SQL Injection in PHPGurukul Online Course Registration System
MediumCVE-2026-0732: Command Injection in D-Link DI-8200G
MediumCVE-2026-0731: NULL Pointer Dereference in TOTOLINK WA1200
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.