<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.setXSSAuditorEnabled(true); | |
} | |
</script> | |
</head> | |
<body> | |
<iframe src="http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?clutter=blah&q=<svg><script>alert(0)//&q2=</script></svg>"> | |
</iframe> | |
Ensures script blocks in a context where CDATA is allowed respect JS comments. | |
</body> | |
</html> |