There was an error while loading. Please reload this page.
(legacy labels: Attack-Vector)
Execution of unsanitized code in the global scope
As discussed at http://code.google.com/p/google-javascript-type-system/issues/detail?id=2 the Function constructor allows for execution of unsanitized code.
EcmaScript 262 section 15.3.4.1 Function.prototype.constructor
The initial value of Function.prototype.constructor is the built-in Function constructor.
The Function constructor has not been replaced with something innocuous.
All
((function () {}).constructor)( 'alert("document.cookie = " + document.cookie)')()