mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
6 lines
182 B
JavaScript
6 lines
182 B
JavaScript
function test(elt) {
|
|
var tainted = document.location.search.substring(1);
|
|
WinJS.Utilities.setInnerHTMLUnsafe(elt, tainted);
|
|
WinJS.Utilities.setOuterHTMLUnsafe(elt, tainted);
|
|
}
|