We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22096c3 commit 23f3736Copy full SHA for 23f3736
python/ql/src/semmle/python/web/stdlib/Request.qll
@@ -117,10 +117,8 @@ class CgiFieldStorageFieldKind extends TaintKind {
117
CgiFieldStorageFieldKind() { this = "CgiFieldStorageFieldKind" }
118
119
override TaintKind getTaintOfAttribute(string name) {
120
- name = "filename" and result instanceof ExternalStringKind
+ name in ["filename", "value"] and result instanceof ExternalStringKind
121
or
122
name = "file" and result instanceof ExternalFileObject
123
- or
124
- name = "value" and result instanceof ExternalStringKind
125
}
126
0 commit comments