Skip to content

Commit e49b5e4

Browse files
committed
up precision from low to medium, and fix tab/spaces
1 parent 7137a64 commit e49b5e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

javascript/ql/src/Security/CWE-079/ExceptionXss.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* to the DOM.
66
* @kind path-problem
77
* @problem.severity error
8-
* @precision low
8+
* @precision medium
99
* @id js/xss-through-exception
1010
* @tags security
1111
* external/cwe/cwe-079

javascript/ql/src/Security/CWE-079/examples/ExceptionXss.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function setLanguageOptions() {
33
deflt = href.substring(href.indexOf("default=")+8);
44

55
try {
6-
var parsed = unknownParseFunction(deflt);
6+
var parsed = unknownParseFunction(deflt);
77
} catch(e) {
88
document.write("Had an error: " + e + ".");
99
}

0 commit comments

Comments
 (0)