We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 017f458 commit dad4838Copy full SHA for dad4838
javascript/ql/test/query-tests/Security/CWE-079/DomBasedXss/tst.js
@@ -341,8 +341,8 @@ function thisNodes() {
341
this.innerHTML = target // OK - this is a jQuery object
342
343
this.each(function (i, e) {
344
- this.innerHTML = target; // $ Alert - (this is a DOM-node);
345
- this.html(target); // OK - (this is a DOM-node);
+ this.innerHTML = target; // $ Alert - this is a DOM-node
+ this.html(target); // OK - this is a DOM-node
346
347
e.innerHTML = target; // $ Alert
348
});
0 commit comments