Skip to main content
Vulnerability Database/CVE-2025-25916

CVE-2025-25916: Wuzhicms v4.1.0 XSS Vulnerability

CVE-2025-25916 is a Cross Site Scripting flaw in Wuzhicms v4.1.0 affecting the del function in group.php that enables attackers to inject malicious scripts. This article covers technical details, impact analysis, and mitigation.

Published:

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-25916 Overview

CVE-2025-25916 is a Cross-Site Scripting (XSS) vulnerability [CWE-79] affecting wuzhicms v4.1.0, an open-source content management system. The flaw resides in the del function within \coreframe\app\member\admin\group.php. An authenticated attacker with low privileges can inject malicious script content that executes in the browser of another user interacting with the administrative interface.

Critical Impact

Successful exploitation allows attackers to execute arbitrary JavaScript in the context of an administrator session, potentially leading to session hijacking, administrative action forgery, or redirection to attacker-controlled infrastructure.

Affected Products

  • wuzhicms wuzhicms version 4.1.0
  • Deployments using the member group administration module
  • Installations exposing \coreframe\app\member\admin\group.php

Discovery Timeline

  • 2025-02-28 - CVE-2025-25916 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-25916

Vulnerability Analysis

The vulnerability is a stored or reflected Cross-Site Scripting issue in the del (delete) function of the member group administration component. The function processes user-controlled input without applying adequate output encoding or input sanitization before returning data to the browser. When an administrator triggers the vulnerable code path, injected JavaScript executes in the context of the wuzhicms admin origin.

The attack requires low privileges and user interaction, and the scope changes because script executes under the trust boundary of the administrator viewing the response. Confidentiality and integrity are both affected, while availability remains unchanged. Exploitation can facilitate account takeover, CSRF chaining, or theft of administrative session cookies.

Root Cause

The root cause is improper neutralization of input during web page generation [CWE-79]. The del function in \coreframe\app\member\admin\group.php fails to escape HTML metacharacters and JavaScript event handlers before rendering parameter values back into the response. PHP's native output must be filtered through functions such as htmlspecialchars() with ENT_QUOTES to prevent script execution in the resulting markup.

Attack Vector

An attacker with a low-privileged authenticated account crafts a request to the vulnerable del endpoint containing an XSS payload in a parameter processed by the group deletion logic. When an administrator or other privileged user accesses a page that renders the attacker-supplied value, the browser interprets the injected script. The attacker can then exfiltrate session tokens, submit administrative requests on behalf of the victim, or deface the management console.

Technical details and a proof-of-concept are documented in the public GitHub Gist PoC and the GitHub Issue Discussion.

Detection Methods for CVE-2025-25916

Indicators of Compromise

  • HTTP requests to index.php with m=member, f=group, and v=del parameters containing <script>, onerror=, onload=, or javascript: substrings
  • Unexpected outbound requests from administrator browsers to unknown domains shortly after accessing the member group admin page
  • Session cookies for the wuzhicms admin console appearing in web server referrer logs for external hosts

Detection Strategies

  • Deploy web application firewall (WAF) rules that inspect query strings and POST bodies submitted to coreframe/app/member/admin/group.php for HTML and JavaScript metacharacters
  • Correlate administrator login events with anomalous administrative actions originating from the same session within a short window
  • Review wuzhicms access logs for repeated del operations containing encoded payloads such as %3Cscript%3E or %22onerror%3D

Monitoring Recommendations

  • Enable verbose logging on the wuzhicms administrative module and forward logs to a centralized analytics platform for retention and search
  • Monitor browser Content Security Policy (CSP) violation reports if CSP is deployed in report-only or enforcing mode
  • Alert on creation or modification of member group records by low-privileged accounts

How to Mitigate CVE-2025-25916

Immediate Actions Required

  • Restrict access to the wuzhicms administrative interface to trusted IP ranges using network ACLs or reverse-proxy allowlists
  • Audit existing low-privileged accounts and remove any that are inactive, shared, or unnecessary
  • Instruct administrators to log out of the wuzhicms console when not actively managing the application

Patch Information

No vendor advisory or official patch was referenced in the NVD entry at the time of publication. Monitor the GitHub Issue Discussion and the upstream wuzhicms repository for a security fix. Until a patch is published, apply the compensating controls below.

Workarounds

  • Deploy a WAF signature that blocks requests to the del function containing HTML tags, JavaScript event handlers, or javascript: URIs
  • Enforce a strict Content Security Policy that disallows inline script execution (script-src 'self') on administrative pages to limit payload impact
  • Apply a local patch wrapping output of user-controlled parameters in htmlspecialchars($value, ENT_QUOTES, 'UTF-8') within \coreframe\app\member\admin\group.php
bash
# Example nginx rule to block common XSS payloads to the vulnerable endpoint
location ~* /coreframe/app/member/admin/group\.php {
    if ($args ~* "(<|%3C)script|onerror=|onload=|javascript:") {
        return 403;
    }
}

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.