java-aodeng Hope-Boot Cross-Site Scripting Vulnerability in WebController

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in java-aodeng Hope-Boot version 1.0.0. The issue arises in the WebController.java file, specifically within the login function. The vulnerability is triggered by manipulating the errorMsg argument, which allows for the injection of malicious scripts. This issue can be exploited remotely and requires user interaction.

Impact

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

Reproduction

To reproduce this vulnerability, send a request to the '/login' endpoint with a crafted errorMsg parameter that includes JavaScript code. The injected script will be executed in the user's browser, demonstrating the cross-site scripting vulnerability.

Added: Jun 24, 2025, 2:24 AM
Updated: Jun 24, 2025, 2:24 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
5.8
remediation
0.0
relevance
0.2
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.