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-5879 Overview
CVE-2025-5879 is a cross-site scripting (XSS) vulnerability in WuKongOpenSource WukongCRM 9.0. The flaw resides in the AdminSysConfigController.java file within the File Upload component. Attackers can manipulate the File argument to inject script content that executes in the context of a victim's browser session.
The issue is tracked under CWE-79 (Improper Neutralization of Input During Web Page Generation). Remote exploitation is possible, but requires user interaction and low-privilege authentication. The exploit has been publicly disclosed, and the vendor did not respond to the disclosure outreach.
Critical Impact
Authenticated attackers can inject scripts through the file upload interface, enabling session theft, administrative action hijacking, and credential harvesting within the CRM administrative console.
Affected Products
- WuKongOpenSource WukongCRM 9.0
- 72crm Wukong CRM (component: File Upload / AdminSysConfigController.java)
- Deployments using the base release without vendor-supplied mitigations
Discovery Timeline
- 2025-06-09 - CVE-2025-5879 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-5879
Vulnerability Analysis
The vulnerability exists in the file upload handler implemented in AdminSysConfigController.java. The controller accepts a File argument and incorporates attacker-controlled values into responses or stored configuration data without proper output encoding or input sanitization. When another authenticated user, typically an administrator, views the resulting page, the injected payload executes in their browser.
Cross-site scripting of this nature allows attackers to execute arbitrary JavaScript in the victim's session context. Payloads can exfiltrate session tokens, perform actions on behalf of the victim, or pivot to other authenticated endpoints within the CRM. Because WukongCRM manages customer records and sales data, successful exploitation can expose business-sensitive information.
Root Cause
The root cause is insufficient neutralization of user-supplied input placed into HTML output. The File Upload component treats the File parameter as trusted and renders it back without context-aware encoding. This failure to apply output encoding is characteristic of CWE-79 weaknesses in Java-based web controllers that write to response bodies or persistent configuration stores.
Attack Vector
Exploitation requires network access to the WukongCRM application and a low-privileged authenticated session. The attacker submits a crafted request to the file upload endpoint containing a script payload in the File argument. User interaction is required for payload execution, typically when an administrator browses the affected view. See the GitHub Issue Discussion and the VulDB #311637 Analysis for additional technical context.
No verified proof-of-concept code is included here. Refer to the VulDB #311637 Details for the public disclosure write-up.
Detection Methods for CVE-2025-5879
Indicators of Compromise
- HTTP POST requests to administrative file upload endpoints containing <script>, onerror=, javascript:, or encoded script fragments in the File parameter
- Unexpected outbound requests from administrator browsers to attacker-controlled domains following access to the system configuration view
- Stored configuration entries in WukongCRM containing HTML or JavaScript markup that should not be present in a filename field
Detection Strategies
- Deploy web application firewall rules that inspect requests to AdminSysConfig endpoints for script tags, event handlers, and HTML entities in file-related parameters
- Review application logs for anomalous filename values submitted by low-privileged accounts
- Correlate administrative session activity with upload events to identify suspected XSS triggers
Monitoring Recommendations
- Enable verbose logging on the WukongCRM application tier and forward logs to a centralized analytics platform for retention and query
- Monitor browser-reported Content Security Policy (CSP) violations originating from the CRM origin
- Alert on administrative accounts initiating unusual API calls shortly after viewing configuration pages
How to Mitigate CVE-2025-5879
Immediate Actions Required
- Restrict access to the WukongCRM administrative interface to trusted internal networks or VPN users
- Enforce least-privilege access and remove unnecessary accounts that can submit file uploads
- Deploy a strict Content Security Policy that blocks inline script execution within the CRM origin
- Review audit logs for suspicious file upload activity consistent with the indicators listed above
Patch Information
The vendor was contacted about this disclosure and did not respond. No official patch is referenced in the available advisories. Organizations should monitor the GitHub Issue Discussion and the VulDB #311637 Analysis for updates. Until a fix is released, treat the deployment as unpatched and apply compensating controls.
Workarounds
- Place the application behind a web application firewall configured to block XSS payloads in file-related parameters
- Add server-side output encoding at any custom integration point that renders the File value
- Disable or hide the affected file upload functionality if it is not required for business operations
- Train administrative users to avoid clicking links or opening views sent by untrusted internal accounts
# Example WAF rule concept (ModSecurity-style) blocking script content in file parameters
SecRule ARGS:File "@rx (?i)(<script|onerror=|javascript:|<svg)" \
"id:1005879,phase:2,deny,status:403,log,msg:'CVE-2025-5879 XSS payload in File parameter'"
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

