mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
6 lines
216 B
JavaScript
6 lines
216 B
JavaScript
function test(elt) {
|
|
var tainted = document.location.search.substring(1); // $ Source
|
|
WinJS.Utilities.setInnerHTMLUnsafe(elt, tainted); // $ Alert
|
|
WinJS.Utilities.setOuterHTMLUnsafe(elt, tainted); // $ Alert
|
|
}
|