Month: August 2022

Preventing Stored XSS Attacks in Node.js: Best Practices and Countermeasures

Introduction A stored XSS (Cross-Site Scripting) attack in a Node.js application occurs when user-supplied input containing malicious scripts or HTML code is stored on the server and later displayed to other users without proper sanitization or validation. This can lead to the execution of the injected scripts on other users’ browsers, potentially compromising their accounts

Read more

Writing to File in Node.js

Introduction Writing some content to a file is a very common programming task. If you are building an application, then one of the important things is to write the content to a file. Node.js core API provides methods to make it easier for us. Node.js fs module provides API to do file operations. One simplest

Read more

Please disable your adblocker or whitelist this site!

How to whitelist website on AdBlocker?

How to whitelist website on AdBlocker?

  1. 1 Click on the AdBlock Plus icon on the top right corner of your browser
  2. 2 Click on "Enabled on this site" from the AdBlock Plus option
  3. 3 Refresh the page and start browsing the site