XSS data directive details
I was talking with Jake Reynolds today and he brought my attention to the fact that I hadn’t spent much time explaining the data: directive, nor had I expounded on the various attack vectors. I’m not 100% sure it’s worth adding more of this to the XSS Cheat Sheet since it is re-hashing an existing vector, but it’s definitely worth mentioning here.
Firstly, it is not limited only to the <META tag, but rather it can be in a number of different vectors. These function in Firefox and Opera:
And this one is specific to Opera:
That’s about it for now. I’ll have to think about this some more. Enjoy!


