February 2018
Beginner to intermediate
426 pages
10h 25m
English
Web Workers are JavaScript code running in the background that have no access to the DOM of the page calling them. Apart from being able to run local tasks in the client, they can use the XMLHttpRequest object to perform in-domain and CORS requests.
Nowadays, it's becoming increasingly popular for web applications to use JavaScript code in order to use a client's processing power to mine cryptocurrencies. Most of the time, it is because these applications have been compromised. Web Workers present a unique opportunity for attackers if the application is vulnerable to XSS, especially if it uses user input to send messages to Web Workers or to create them.
Read now
Unlock full access