mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
add files uploaded with multer as RemoteFlowSource
This commit is contained in:
@@ -509,8 +509,9 @@ module Express {
|
||||
this = request.getAPropertyRead("cookies")
|
||||
or
|
||||
// `req.files`, treated the same as `req.body`.
|
||||
// `express-fileupload` uses .files, and `multer` uses .files or .file
|
||||
kind = "body" and
|
||||
this = request.getAPropertyRead("files")
|
||||
this = request.getAPropertyRead(["files", "file"])
|
||||
)
|
||||
or
|
||||
kind = "body" and
|
||||
|
||||
Reference in New Issue
Block a user