Showing posts with label escape. Show all posts
Showing posts with label escape. Show all posts

JavaScript injection in JSON inserted directly into script tag

Pass data from backend to javascript is done in many different ways. One of the most simple is to inject(<%= %>) value as function argument inside of script tag. Unfortunately this pattern has well known XSS vulnerability but in a little different form than same injection in html template.
Copyright © Spesial Unik. All rights reserved. Template by CB. Theme Framework: Responsive Design