by michaelx386 · 12y ago · 0 comments
https://www.google.com/about/appsecurity/learning/xss/index....
e.g. "Now, enter <img src='' onerror="alert(document.cookie);" and hit 'Share status!'."
One of the reasons for using such broken payloads is to demonstrate that browsers will happily parse broken markup and that approaches such as removing "<.*>" won't be effective as a technique to prevent XSS (because such a regexp won't match an unterminated tag like the example you pointed out).
Still, it could at least use a better explanation. The documentation fairy will take a look!