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.
2 parents 8b4e060 + 30f8d6e commit f0fe3a3Copy full SHA for f0fe3a3
go/ql/lib/semmle/go/security/Xss.qll
@@ -49,6 +49,10 @@ module SharedXss {
49
override Locatable getAssociatedLoc() { result = this.getRead().getEnclosingTextNode() }
50
}
51
52
+ private class DefaultSink extends Sink {
53
+ DefaultSink() { sinkNode(this, ["html-injection", "js-injection"]) }
54
+ }
55
+
56
/**
57
* Holds if `body` may send a response with a content type other than HTML.
58
*/
0 commit comments