mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Parameters annotated with Spring's @RequestBody and @PathVariable are remote input sources.
This commit is contained in:
@@ -11,7 +11,9 @@ class SpringServletInputAnnotation extends Annotation {
|
||||
a.hasName("RequestParam") or
|
||||
a.hasName("RequestHeader") or
|
||||
a.hasName("CookieValue") or
|
||||
a.hasName("RequestPart")
|
||||
a.hasName("RequestPart") or
|
||||
a.hasName("PathVariable") or
|
||||
a.hasName("RequestBody")
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user