Skip to content

Commit 310dd05

Browse files
asgerferik-krogh
andauthored
Update javascript/ql/src/Security/CWE-352/MissingCsrfMiddleware.ql
Co-Authored-By: Erik Krogh Kristensen <erik-krogh@github.com>
1 parent b98db62 commit 310dd05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ string cookieProperty() {
1717
result = "session" or result = "cookies" or result = "user"
1818
}
1919

20-
/** Gets a data flow node that flows to the base of an access to `cookies` or `session`. */
20+
/** Gets a data flow node that flows to the base of an access to `cookies`, `session`, or `user`. */
2121
private DataFlow::SourceNode nodeLeadingToCookieAccess(DataFlow::TypeBackTracker t) {
2222
t.start() and
2323
exists(DataFlow::PropRead value |

0 commit comments

Comments
 (0)