Reflected_XSS_All_Clients issue exists @ riches/WEB-INF/src/java/com/checkmarx/samples/riches/restful/TransactionResources.java in branch master
Method PayBill at line 63 of riches\WEB-INF\src\java\com\checkmarx\samples\riches\restful\TransactionResources.java gets user input for the representation element. This element’s value then flows through the code without being properly sanitized or validated and is eventually displayed to the user in method PayBill at line 63 of riches\WEB-INF\src\java\com\checkmarx\samples\riches\restful\TransactionResources.java. This may enable a Cross-Site-Scripting attack.
Reflected_XSS_All_Clients issue exists @ riches/WEB-INF/src/java/com/checkmarx/samples/riches/restful/TransactionResources.java in branch master
Method PayBill at line 63 of riches\WEB-INF\src\java\com\checkmarx\samples\riches\restful\TransactionResources.java gets user input for the representation element. This element’s value then flows through the code without being properly sanitized or validated and is eventually displayed to the user in method PayBill at line 63 of riches\WEB-INF\src\java\com\checkmarx\samples\riches\restful\TransactionResources.java. This may enable a Cross-Site-Scripting attack.
Severity: High CWE:79 Checkmarx Lines: 84 63
Code (Line #84):
Code (Line #63):