Update javascript/ql/src/Security/CWE-352/MissingCsrfMiddleware.ql

Co-Authored-By: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
Asger F
2020-01-28 12:46:34 +00:00
committed by GitHub
parent b98db62e82
commit 310dd05185

View File

@@ -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 |