mirror of
https://github.com/github/codeql.git
synced 2025-12-19 02:13:17 +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);
|
|
}
|