mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Update javascript/ql/src/experimental/Security/CWE-614/InsecureCookie.qll
Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
This commit is contained in:
committed by
GitHub
parent
e463014759
commit
fb3ffb895a
@@ -56,8 +56,6 @@ module InsecureCookie {
|
||||
|
||||
/**
|
||||
* A cookie set using the `express` module `express-session` (https://github.com/expressjs/session).
|
||||
* The flag `secure` is not set by default (https://github.com/expressjs/session#cookiesecure).
|
||||
* The default value for cookie options is { path: '/', httpOnly: true, secure: false, maxAge: null }.
|
||||
*/
|
||||
class InsecureExpressSessionCookie extends ExpressLibraries::ExpressSession::MiddlewareInstance,
|
||||
InsecureCookies {
|
||||
|
||||
Reference in New Issue
Block a user