11.07.2015 Views

asia-15-Johns-Client-Side-Protection-Against-DOM-Based-XSS-Done-Right-(tm)

asia-15-Johns-Client-Side-Protection-Against-DOM-Based-XSS-Done-Right-(tm)

asia-15-Johns-Client-Side-Protection-Against-DOM-Based-XSS-Done-Right-(tm)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Trailing Content• Use existing content to fool Auditor ... while still resulting in valid JavaScript where "valid" means "will not cause compile-time errors"var width = location.hash.slice(1); document.write(""); • http://vuln.com/trailing.h<strong>tm</strong>l#' onload='alert(1); • Other bypasses using trailing slashes (Auditor stops search after second slash) Trailing SVG (using semicolon)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!