This repo includes two sample applications showcasing browser storage nuances.
- Clone the repo:
git@github.com:esarafianou/browser-storage.git
- Install the dependencies:
cd browser-storage
npm install
The application walks you through the differences between Local and Session Storage
cd localvsSessionStorage
- Run
node server.js
- Visit http://localhost:4000
- Follow the instructions presented there
This applcation has a DOM-based XSS and demonstrates different in-memory storage implementations and their insecurities against XSS.
cd inMemory
- Run
node server.js
- Visit http://localhost:3000