Skip to content

Commit cd40de7

Browse files
bananabrasgerf
andauthored
Update javascript/ql/src/experimental/Security/CWE-079/ClipboardXss.ql
Typo fix Co-authored-by: Asger F <[email protected]>
1 parent 5644514 commit cd40de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/experimental/Security/CWE-079/ClipboardXss.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ SourceNode clipboardDataTransferSource(TypeTracker t) {
2525
t.start() and
2626
exists(DataFlow::PropRead pr | pr.getPropertyName() = "clipboardData" and pr.flowsTo(result))
2727
or
28-
exists(TypeTracker t2 | result = clipboardDataSource(t2).track(t2, t))
28+
exists(TypeTracker t2 | result = clipboardDataTransferSource(t2).track(t2, t))
2929
}
3030

3131
SourceNode clipboardDataTransferSource() {

0 commit comments

Comments
 (0)