Skip to content

Commit 3fe5dd0

Browse files
committed
add comment about filtering away jQuery from the source
1 parent b53759c commit 3fe5dd0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

javascript/ql/src/semmle/javascript/security/dataflow/UnsafeHtmlConstructionCustomizations.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module UnsafeHtmlConstruction {
2525
class ExternalInputSource extends Source, DataFlow::ParameterNode {
2626
ExternalInputSource() {
2727
this = Exports::getALibraryInputParameter() and
28+
// An AMD-style module sometimes loads the jQuery library in a way which looks like library input.
2829
not this = JQuery::dollarSource()
2930
}
3031
}

0 commit comments

Comments
 (0)