Files
codeql/javascript/ql/test/query-tests/Security/CWE-611/closure.js
2025-02-28 13:27:28 +01:00

6 lines
139 B
JavaScript

function test() {
var src = document.location.search;
// OK - Closure does not expand external entities
goog.dom.xml.loadXml(src);
}