---
id: CVE-2025-13887
title: >-
  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 insuf…
summary: >-
  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 insuf…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2026-01-07'
updated: '2026-10-01'
sourceUpdated: '2026-10-01T23:10:00.233'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-13887'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/ai-botkit-for-lead-generation/tags/1.1.7/includes/public/class-shortcode-handler.php#L42
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/ai-botkit-for-lead-generation/trunk/includes/public/class-shortcode-handler.php#L42
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/changeset/3433410/'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/5659af1d-f248-46ff-b282-ef5397222d8d?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00218
epssPercentile: 0.1104
ingestedAt: '2026-10-02T00:04:54.714Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
