Reflected_XSS_All_Clients issue exists @ src/main/webapp/vulnerability/xss/search.jsp in branch master
The application's <%=searchedName%> embeds untrusted data in the generated output with searchedName, at line 21 of src\main\webapp\vulnerability\xss\search.jsp. This untrusted data is embedded straight into the output without proper sanitization or encoding, enabling an attacker to inject malicious code into the output.The attacker would be able to alter the returned web page by simply providing modified data in the user input ""keyword"", which is read by the request.getParameter method at line 16 of src\main\webapp\vulnerability\xss\search.jsp. This input then flows through the code straight to the output web page, without sanitization. This can enable a Reflected Cross-Site Scripting (XSS) attack.
Reflected_XSS_All_Clients issue exists @ src/main/webapp/vulnerability/xss/search.jsp in branch master
The application's <%=searchedName%> embeds untrusted data in the generated output with searchedName, at line 21 of src\main\webapp\vulnerability\xss\search.jsp. This untrusted data is embedded straight into the output without proper sanitization or encoding, enabling an attacker to inject malicious code into the output.The attacker would be able to alter the returned web page by simply providing modified data in the user input ""keyword"", which is read by the request.getParameter method at line 16 of src\main\webapp\vulnerability\xss\search.jsp. This input then flows through the code straight to the output web page, without sanitization. This can enable a Reflected Cross-Site Scripting (XSS) attack.
Severity: High
CWE:79
Checkmarx
Training Recommended Fix
Lines: 16
Code (Line #16):