mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Merge pull request #12802 from erik-krogh/history-xss
JS: add browser history as XSS sink
This commit is contained in:
@@ -222,6 +222,8 @@ module ClientSideUrlRedirect {
|
||||
HistoryWriteUrlSink() {
|
||||
this = History::getBrowserHistory().getMember(["push", "replace"]).getACall().getArgument(0)
|
||||
}
|
||||
|
||||
override predicate isXssSink() { any() }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user