We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c2046f1 + be42470 commit f1a73e3Copy full SHA for f1a73e3
1 file changed
python/ql/src/experimental/semmle/python/frameworks/XML.qll
@@ -69,8 +69,9 @@ private module XML {
69
* ```
70
*
71
* `this` would be `xml.sax.make_parser()`, `getAnInput()` would return `StringIO(xml_content)`
72
- * and `mayBeDangerous()` would succeed since `xml.sax.handler.feature_external_ges` is set to
73
- * `False` and so it's vulnerable.
+ * and `mayBeDangerous()` would not hold since `xml.sax.handler.feature_external_ges` is set to
+ * `False` and so is not vulnerable.
74
+ * see https://docs.python.org/3/library/xml.sax.handler.html#xml.sax.handler.feature_external_ges
75
*/
76
private class XMLSaxParser extends DataFlow::CallCfgNode, XMLParser::Range {
77
DataFlow::CallCfgNode attrCall;
0 commit comments