May 2018
Intermediate to advanced
334 pages
7h 25m
English
Cross-site scripting attacks—or XSS attacks—typically happen as a result of bad input, where an attacker injects client scripts (JavaScript in most cases) into the web page. According to the official web page (https://docs.microsoft.com/en-us/aspnet/core/security/cross-site-scripting):
Here, I am using the example of a web client that consumes web services. You will learn more about web clients in Chapter 10, Building a Web Client (Consuming Web Services).
The following screenshot shows a scenario where the Create screen is under attack:
The preceding screenshot ...