CodeQL library for JavaScript
codeql/javascript-all 0.7.4 ( changelog , source )
Search

Predicate XssThroughDom :: getSelectionCall

Gets a reference to a value obtained by calling window.getSelection(). https://developer.mozilla.org/en-US/docs/Web/API/Selection

Import path

import semmle.javascript.security.dataflow.XssThroughDomCustomizations
SourceNode getSelectionCall ( TypeTracker t )