Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7137a64 commit e49b5e4Copy full SHA for e49b5e4
2 files changed
javascript/ql/src/Security/CWE-079/ExceptionXss.ql
@@ -5,7 +5,7 @@
5
* to the DOM.
6
* @kind path-problem
7
* @problem.severity error
8
- * @precision low
+ * @precision medium
9
* @id js/xss-through-exception
10
* @tags security
11
* external/cwe/cwe-079
javascript/ql/src/Security/CWE-079/examples/ExceptionXss.js
@@ -3,7 +3,7 @@ function setLanguageOptions() {
3
deflt = href.substring(href.indexOf("default=")+8);
4
try {
- var parsed = unknownParseFunction(deflt);
+ var parsed = unknownParseFunction(deflt);
} catch(e) {
document.write("Had an error: " + e + ".");
}
0 commit comments