Predicate isUntrustedHostname
Holds if hostname
refers to a domain or subdomain that is untrusted.
Import path
import semmle.javascript.security.FunctionalityFromUntrustedSource
predicate isUntrustedHostname(string hostname)
Holds if hostname
refers to a domain or subdomain that is untrusted.
import semmle.javascript.security.FunctionalityFromUntrustedSource
predicate isUntrustedHostname(string hostname)