4 ms·
is still only an issue if you pass untrusted data to your js code.
by merb 9y ago
is still only an issue if you pass untrusted data to your js code.
- Klathmon 9y agoAnd there is a pretty good chance of that happening in most JS projects. Anywhere you take or show input from the user (an input box, a URL query, displaying data stored by some other system on the DB, etc...) could be a vector for an XSS attack. And it's not just data passed to JS, but data passed to HTML or any data that could make it's way into CSS in many cases!
- sakshyamshah 9y agoturns out that most of times, untrusted user supplied data slips through JS codes https://www.owasp.org/index.php/Top_10_2017-Top_10 https://www.owasp.org/index.php/Top_10_2017-Top_10