0Day Forums
how to resolve xss vulnerability for javascript code - Printable Version

+- 0Day Forums (https://zeroday.vip)
+-- Forum: Coding (https://zeroday.vip/Forum-Coding)
+--- Forum: JScript (https://zeroday.vip/Forum-JScript)
+--- Thread: how to resolve xss vulnerability for javascript code (/Thread-how-to-resolve-xss-vulnerability-for-javascript-code)



how to resolve xss vulnerability for javascript code - alcazars424259 - 07-24-2023

I am getting the below response post the security scan done on website and tool says the following:

Method lambda() sends unvalidated data to a web browser on line below:
I am confused how can this be managed.

.html("$ " + formatMoney($("#financial_sales_price").val() - total_subtotals_val));

Can somebody assist to resolve this vulnerability.