File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
javascript/ql/src/Security/CWE-352 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ private DataFlow::SourceNode nodeLeadingToCookieAccess(DataFlow::TypeBackTracker
3535 )
3636}
3737
38- /** Gets a data flow node that flows to the base of an access to `cookies` or `session `. */
38+ /** Gets a data flow node that flows to the base of an access to `cookies`, `session`, or `user `. */
3939DataFlow:: SourceNode nodeLeadingToCookieAccess ( ) {
4040 result = nodeLeadingToCookieAccess ( DataFlow:: TypeBackTracker:: end ( ) )
4141}
@@ -123,7 +123,7 @@ where
123123 getARouteUsingCookies ( ) .flowsToExpr ( handler ) and
124124 hasCookieMiddleware ( handler , cookie ) and
125125
126- // Only flag the first cookie parser registered first.
126+ // Only flag the cookie parser registered first.
127127 not hasCookieMiddleware ( cookie , _) and
128128
129129 not hasCsrfMiddleware ( handler ) and
You can’t perform that action at this time.
0 commit comments