mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Update javascript/ql/src/experimental/Security/CWE-079/ClipboardXss.ql
Typo fix Co-authored-by: Asger F <asgerf@github.com>
This commit is contained in:
@@ -25,7 +25,7 @@ SourceNode clipboardDataTransferSource(TypeTracker t) {
|
||||
t.start() and
|
||||
exists(DataFlow::PropRead pr | pr.getPropertyName() = "clipboardData" and pr.flowsTo(result))
|
||||
or
|
||||
exists(TypeTracker t2 | result = clipboardDataSource(t2).track(t2, t))
|
||||
exists(TypeTracker t2 | result = clipboardDataTransferSource(t2).track(t2, t))
|
||||
}
|
||||
|
||||
SourceNode clipboardDataTransferSource() {
|
||||
|
||||
Reference in New Issue
Block a user