I am facing a XS_Reflected_XSS issue related to Checkmarx. Working in SAP HANA XSJS.
Following is my code extract :
action = **$.request.parameters.get("action");**
switch ($.request.method) {
case $.net.http.GET:
switch (action) {
case "ds":
res = aLib.getds();
break;
It calls the $.request.parameters.get("action"); as a checkmarx issue. Anyone knows how to resolve this.
Thanks.