This pull request addresses an XSS vulnerability by removing unnecessary localization logic from the console.jsp file. The original code dynamically set the locale based on request parameters, which could potentially be exploited by malicious users. Since our system does not support multiple languages, we replaced the dynamic logic with a static default locale of "en" to mitigate the XSS risk.
Description
This pull request addresses an XSS vulnerability by removing unnecessary localization logic from the
console.jsp
file. The original code dynamically set the locale based on request parameters, which could potentially be exploited by malicious users. Since our system does not support multiple languages, we replaced the dynamic logic with a static default locale of "en" to mitigate the XSS risk.