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

CVE-2025-14005: Xunruicms XSS Vulnerability

CVE-2025-14005 is a cross-site scripting flaw in Xunruicms affecting versions up to 4.7.1 that enables remote attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation strategies.

Published:

CVE-2025-14005 Overview

CVE-2025-14005 is a reflected cross-site scripting (XSS) vulnerability [CWE-79] in dayrui XunRuiCMS versions up to 4.7.1. The flaw resides in the Add Display Name Field component, accessible through the administrative endpoint /admind45f74adbd95.php?c=field&m=add&rname=site&rid=1&page=0. An authenticated attacker can manipulate the data[name] argument to inject arbitrary script content that executes in the browser of any user viewing the affected field. The exploit has been published, but the vendor did not respond to disclosure attempts.

Critical Impact

Attackers with administrative privileges can inject JavaScript that runs in other administrators' browsers, enabling session theft, credential harvesting, and further administrative actions.

Affected Products

  • dayrui XunRuiCMS versions up to and including 4.7.1
  • The Add Display Name Field component within XunRuiCMS admin panel
  • Deployments using the vulnerable /admind45f74adbd95.php administrative script

Discovery Timeline

  • 2025-12-04 - CVE-2025-14005 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-14005

Vulnerability Analysis

The vulnerability is a stored or reflected cross-site scripting flaw in the field-management functionality of XunRuiCMS. The data[name] parameter, submitted when adding a display name field, is rendered back into the administrative interface without adequate output encoding. When a browser processes the injected payload, script content executes within the authenticated administrator's session context.

Exploitation requires administrative privileges and user interaction, which limits the practical attack surface. However, successful exploitation grants an attacker the ability to read or manipulate any content rendered in the admin panel. This includes forging administrative requests, exfiltrating session cookies, and pivoting to further compromise of the CMS. The vendor has not issued a patch or acknowledged the disclosure.

Root Cause

The root cause is missing or insufficient sanitization of the data[name] input during field creation. XunRuiCMS accepts user-controlled markup and reflects it into HTML contexts without applying context-appropriate encoding such as HTML entity escaping. This aligns with the [CWE-79] pattern of improper neutralization of input during web page generation.

Attack Vector

The attack is delivered over the network to the administrative endpoint. An authenticated attacker crafts a request containing a malicious data[name] value against /admind45f74adbd95.php?c=field&m=add&rname=site&rid=1&page=0. The injected payload is stored or reflected in the resulting page and executes when a target administrator loads the affected view. Public proof-of-concept material is available in the GitHub PoC Repository.

Refer to the VulDB entry #334247 for additional technical details on the exploit request structure.

Detection Methods for CVE-2025-14005

Indicators of Compromise

  • HTTP requests to /admind45f74adbd95.php containing c=field&m=add with script tags, event handlers, or encoded JavaScript in the data[name] parameter.
  • Unexpected outbound requests originating from administrator browsers immediately after loading the field-management interface.
  • New or modified field entries in the XunRuiCMS database containing HTML markup rather than plain text values.

Detection Strategies

  • Deploy a web application firewall rule that inspects data[name] and other field-add parameters for HTML tags, JavaScript event handlers, and common XSS payload patterns.
  • Review web server access logs for POST requests to the field-add endpoint from unexpected source addresses or accounts.
  • Correlate administrative session activity with outbound network telemetry to identify script-driven data exfiltration.

Monitoring Recommendations

  • Monitor administrator authentication events and flag concurrent sessions or unusual geolocation patterns.
  • Alert on modifications to CMS field configurations outside of scheduled change windows.
  • Enable Content Security Policy (CSP) violation reporting to surface injected inline scripts.

How to Mitigate CVE-2025-14005

Immediate Actions Required

  • Restrict access to the XunRuiCMS admin panel to trusted IP ranges using network access controls or a VPN.
  • Audit administrator accounts and remove or rotate credentials for accounts that no longer require access.
  • Review recently added or modified fields in the CMS for embedded HTML or JavaScript and remove suspicious entries.

Patch Information

No vendor patch is available. The reporter states the vendor was contacted early but did not respond. Organizations running XunRuiCMS 4.7.1 or earlier should treat the deployment as unpatched and apply compensating controls until an official fix is released. Monitor the VulDB advisory for updates.

Workarounds

  • Place the CMS behind a web application firewall configured to block XSS payloads in POST bodies targeting /admind45f74adbd95.php.
  • Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins.
  • Limit CMS administrative privileges using the principle of least privilege, reducing the number of accounts capable of adding fields.
  • Require multi-factor authentication for all administrator logins to raise the cost of credential-based exploitation.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

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.