YouDianCMS Cross-Site Scripting Vulnerability

Vulnerability

A reflected cross-site scripting vulnerability has been identified in YouDianCMS version 9.5.21. The issue arises in the file '/App/Tpl/Admin/Default/Log/index.html', where the application fails to properly sanitize user input from the 'UserName' and 'LogType' parameters. This lack of security filtering allows attackers to inject malicious JavaScript, which is then executed in the context of the user's browser. The vulnerability can be exploited remotely.

Impact

Exploitation of this vulnerability allows for reflected cross-site scripting, where an attacker can inject malicious scripts that are executed in the victim's browser.

Reproduction

To reproduce this vulnerability, log into the YouDianCMS admin panel and navigate to the log management section. Once there, send a request to the 'index.php/Admin/log/index' endpoint with either the 'UserName' or 'LogType' parameter containing the injected script, such as a JavaScript alert. The server will return the injected script in the response, which will be executed in the browser.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
3.4
impact
1.7
exploitability
6.0
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.