RobertMickleCx / JVL_Actions

GNU General Public License v2.0
0 stars 0 forks source link

CX Reflected_XSS_All_Clients @ src/main/webapp/vulnerability/xss/search.jsp [master] #7

Open RobertMickleCx opened 2 years ago

RobertMickleCx commented 2 years ago

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):

String searchedName = request.getParameter("keyword");

RobertMickleCx commented 2 years ago

Issue still exists.

RobertMickleCx commented 2 years ago

Issue still exists.

RobertMickleCx commented 2 years ago

Issue still exists.

RobertMickleCx commented 2 years ago

Issue still exists.

RobertMickleCx commented 2 years ago

Issue still exists.