CVE-2025-31563: WordPress AI Search Bar plugin <= 2.1 - Cross Site Scripting (XSS) vulnerability
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Vimal Kava AI Search Bar open-ai-search-bar allows Stored XSS.This issue affects AI Search Bar: from n/a through <= 2.1.
Security readout for executives and security teams
Plain-English summary
CVE-2025-31563 is a stored cross-site scripting flaw in the WordPress AI Search Bar plugin by Vimal Kava, package open-ai-search-bar, reported for versions through 2.1. If present, malicious content could be saved by the site and later run in a visitor’s browser, risking account context abuse, content changes, or data exposure.
Executive priority
Treat this as a high-priority WordPress plugin exposure if the plugin is installed. Stored XSS can affect users after the original input is saved, so remediation should focus on rapid inventory, update or removal decisions, and evidence-based validation rather than broad emergency response.
Technical view
The CVE describes CWE-79 improper input neutralization during web page generation. CVSS 3.1 is 7.1 high: AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L. The issue is stored XSS, so persistence is the main concern. Public source metadata does not include exploit details or a confirmed fixed version.
Likely exposure
Exposure is limited to WordPress sites running the AI Search Bar plugin open-ai-search-bar in affected versions. The source bundle states through 2.1, while the Patchstack URL text references 1.3, so version evidence should be verified against vendor or Patchstack records.
Exploitation context
The CVE is not listed as CISA KEV in the supplied bundle, and no cited source states active exploitation. The CVSS vector indicates network reachability, low attack complexity, no privileges required, and required user interaction, with possible confidentiality, integrity, and availability impact.
Researcher notes
The supplied metadata is enough to identify product, weakness class, and CVSS severity, but it lacks exploit mechanics, affected-version clarity, and patch confirmation. Avoid assuming exploitation in the wild. Pay attention to the version discrepancy between the CVE description through 2.1 and the Patchstack URL wording referencing 1.3.
Mitigation direction
Inventory WordPress sites for the AI Search Bar open-ai-search-bar plugin.
Check vendor and Patchstack guidance for a fixed version or official mitigation.
Update the plugin if a fixed release is available from trusted sources.
Disable or remove the plugin where business need is low or no fix is available.
Review WordPress user roles and restrict administrative access to trusted accounts.
Validation and detection
Confirm installed plugin name, slug, and version across managed WordPress sites.
Compare installed versions with CVE and Patchstack records before closing exposure.
Review web logs and WordPress activity for suspicious saved content or unexpected admin actions.
Use safe authenticated testing to verify stored content is properly neutralized.
Document compensating controls if the plugin remains enabled without a confirmed fix.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.