Skip to content

Commit 7ccb476

Browse files
committed
JS: Restrict AP length in ExceptionXss
1 parent 23d7420 commit 7ccb476

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

javascript/ql/lib/semmle/javascript/security/dataflow/ExceptionXssQuery.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ module ExceptionXssConfig implements DataFlow::StateConfigSig {
153153
canThrowSensitiveInformation(node1) and
154154
node2 = getExceptionTarget(node1)
155155
}
156+
157+
int accessPathLimit() { result = 1 }
156158
}
157159

158160
/**

0 commit comments

Comments
 (0)