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

Predicate DomBasedXss::isPrefixOfJQueryHtmlString

Holds if prefix is a prefix of htmlString, which may be interpreted as HTML by a jQuery method.

Import path

import semmle.javascript.security.dataflow.DomBasedXssCustomizations
predicate isPrefixOfJQueryHtmlString(Node htmlString, Node prefix)