mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Update javascript/ql/src/Security/CWE-352/MissingCsrfMiddleware.ql
Co-Authored-By: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
@@ -17,7 +17,7 @@ string cookieProperty() {
|
||||
result = "session" or result = "cookies" or result = "user"
|
||||
}
|
||||
|
||||
/** Gets a data flow node that flows to the base of an access to `cookies` or `session`. */
|
||||
/** Gets a data flow node that flows to the base of an access to `cookies`, `session`, or `user`. */
|
||||
private DataFlow::SourceNode nodeLeadingToCookieAccess(DataFlow::TypeBackTracker t) {
|
||||
t.start() and
|
||||
exists(DataFlow::PropRead value |
|
||||
|
||||
Reference in New Issue
Block a user