hi
i was looking at this article about cross site attacks
https://www.owasp.org/index.php/XSS_...ript_directive
There many examples like
But the both image tags dont open any alert box.HTML Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <IMG SRC="javascript:alert('XSS');"> <img src="javascript:alert('XSS');" alt="" /> </body> </html>
I just want to check safety against XSS attacks
vineet



Reply With Quote


Bookmarks