Provides classes for finding functionality that is loaded from untrusted sources and used in script or frame elements.
Import path
import semmle.javascript.security.FunctionalityFromUntrustedSourceImports
| javascript | Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML. |
Predicates
| isCdnDomainWithCheckingRequired | Holds for hostnames defined in data extensions |
| isUntrustedDomain | Holds for domains defined in data extensions |
| isUntrustedHostname | Holds if |
| isUrlWithUntrustedDomain | Holds if |
Classes
| AddsUntrustedUrl | A location that adds a reference to an untrusted source. |
Modules
| DynamicCreation | Looks for dyanmic creation of an element and source. |
| StaticCreation | Looks for static creation of an element and source. |