YZMCMS Reflected Cross-Site Scripting Vulnerability

Vulnerability

A reflected cross-site scripting vulnerability has been identified in YZMCMS version 7.4, specifically within the '/index/login.html' component. This vulnerability allows attackers to execute arbitrary JavaScript in the context of the user's browser by modifying the referrer value in the request header.

Impact

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

Reproduction

To reproduce this vulnerability, intercept a request to the account registration page and modify the referer header to include a JavaScript payload, such as 'javascript:alert(1)'. After sending the modified request, the injected script will execute in the context of the user's browser.

Remediation

To address this vulnerability, implement input validation to verify the length, type, and syntax of incoming data. Apply output encoding to ensure that user-submitted data is properly encoded before being displayed. Specify the encoding method for output to prevent attackers from manipulating it. Avoid relying on blacklist verification methods, as they can be easily bypassed. Be cautious of normalization errors by decoding and normalizing input before validation, and filter out special characters from client-submitted data.

Added: Mar 26, 2026, 3:27 PM
Updated: Mar 26, 2026, 3:27 PM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
1.7
exploitability
8.2
remediation
0.0
relevance
4.7
threat
6.4
urgency
2.9
incentive
0.0

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