Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-3670 Overview
The KiwiChat NextClient plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability in the url parameter. All versions up to and including 6.2 are affected. The plugin fails to properly sanitize input and escape output, allowing authenticated users with Contributor-level access or higher to inject arbitrary JavaScript into pages. Injected scripts execute in the browser of any user who visits the affected page. The issue is tracked under CWE-79 (Improper Neutralization of Input During Web Page Generation).
Critical Impact
Authenticated contributors can inject persistent JavaScript that executes in the context of every visitor, enabling session theft, administrative action hijacking, and site defacement.
Affected Products
- KiwiChat NextClient plugin for WordPress (all versions ≤ 6.2)
- WordPress sites accepting Contributor-level user registration
- Sites where the plugin renders the url parameter without escaping
Discovery Timeline
- 2025-05-02 - CVE-2025-3670 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-3670
Vulnerability Analysis
The vulnerability resides in the KiwiChat NextClient plugin's handling of the url parameter within public/index.php. The plugin accepts attacker-controlled input and reflects it into rendered page output without applying WordPress sanitization functions such as esc_url(), esc_attr(), or wp_kses(). Because the injected payload is stored server-side and rendered on subsequent page loads, it qualifies as Stored XSS rather than reflected. Any authenticated user holding Contributor privileges or higher can inject the payload. The stored payload then executes in the browser context of every user who accesses the affected page, including administrators. Successful exploitation can lead to session token theft, forced administrative actions via CSRF chaining, credential harvesting through fake login overlays, or redirection to malware distribution sites. Refer to the Wordfence Vulnerability Analysis for additional context.
Root Cause
The root cause is insufficient input sanitization and output escaping on the url parameter. WordPress provides standard escaping helpers, but the plugin renders user-supplied data directly into HTML markup. The relevant code path can be reviewed in the KiwiChat plugin source.
Attack Vector
An authenticated attacker with Contributor-level access submits a crafted url value containing an HTML or JavaScript payload. The plugin persists the value and later renders it into a page. When any visitor loads the page, the browser parses and executes the injected script under the site's origin. No user interaction beyond normal page browsing is required for the payload to fire.
Detection Methods for CVE-2025-3670
Indicators of Compromise
- Unexpected <script>, onerror=, onload=, or javascript: tokens in stored post content, custom fields, or plugin database tables
- Contributor or Author accounts creating or editing posts that reference the KiwiChat url parameter
- Outbound requests from visitor browsers to unfamiliar third-party domains after loading KiwiChat-enabled pages
- Newly created administrator accounts or modified user roles following Contributor activity
Detection Strategies
- Query the wp_posts and plugin-specific tables for payload signatures such as <script, onerror=, and data:text/html
- Enable WordPress audit logging to record content changes performed by Contributor and Author roles
- Deploy a Web Application Firewall (WAF) rule that inspects url parameter values submitted to KiwiChat endpoints
Monitoring Recommendations
- Alert on Content Security Policy (CSP) violation reports originating from pages that render KiwiChat output
- Monitor administrator session activity for unexpected privilege changes or plugin installs following Contributor edits
- Track file integrity of the kiwichat/public/index.php file and any custom modifications
How to Mitigate CVE-2025-3670
Immediate Actions Required
- Deactivate and remove the KiwiChat NextClient plugin until a patched release is available
- Audit all Contributor-level and above accounts, disabling any that are unused or unverified
- Review recent post revisions and custom fields for injected script payloads and remove them
- Rotate administrator credentials and invalidate active sessions if suspicious activity is observed
Patch Information
At the time of publication, no fixed version has been identified in the NVD entry. Monitor the KiwiChat plugin developer page for a release beyond version 6.2 that addresses the sanitization defect.
Workarounds
- Restrict Contributor account creation and require administrator approval for new registrations
- Deploy a Content Security Policy that disallows inline scripts and restricts script sources to trusted origins
- Add a WAF rule to block requests where the url parameter contains HTML tags or JavaScript scheme handlers
- Remove the plugin entirely if it is not business-critical
# Disable the plugin via WP-CLI until a patch is released
wp plugin deactivate kiwichat
wp plugin delete kiwichat
# Audit posts for potential XSS payloads
wp db query "SELECT ID, post_title FROM wp_posts WHERE post_content REGEXP '<script|onerror=|javascript:';"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

