Skip to content

Commit 5fd6dc3

Browse files
committed
Java: Opt-in the XSS query to use threat model flow sources.
1 parent d258f69 commit 5fd6dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/security/XssQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import semmle.code.java.security.XSS
99
* A taint-tracking configuration for cross site scripting vulnerabilities.
1010
*/
1111
module XssConfig implements DataFlow::ConfigSig {
12-
predicate isSource(DataFlow::Node source) { source instanceof RemoteFlowSource }
12+
predicate isSource(DataFlow::Node source) { source instanceof ThreatModelFlowSource }
1313

1414
predicate isSink(DataFlow::Node sink) { sink instanceof XssSink }
1515

0 commit comments

Comments
 (0)