mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Update javascript/ql/test/query-tests/Security/CWE-079/DomBasedXss/tst.js
Co-authored-by: Napalys Klicius <napalys@github.com>
This commit is contained in:
@@ -341,8 +341,8 @@ function thisNodes() {
|
||||
this.innerHTML = target // OK - this is a jQuery object
|
||||
|
||||
this.each(function (i, e) {
|
||||
this.innerHTML = target; // $ Alert - (this is a DOM-node);
|
||||
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
|
||||
|
||||
e.innerHTML = target; // $ Alert
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user