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

Module XssThroughDomQuery

Provides a taint-tracking configuration for reasoning about cross-site scripting vulnerabilities through the DOM.

Import path

import semmle.javascript.security.dataflow.XssThroughDomQuery

Imports

javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.

Predicates

isIgnoredSourceSinkPair

Holds if the source,sink pair should not be reported.

Classes

Configuration

DEPRECATED. Use the XssThroughDomFlow module instead.

TypeTestGuard

A test for the value of typeof x, restricting the potential types of x.

Modules

XssThroughDomConfig

A taint-tracking configuration for reasoning about XSS through the DOM.

Aliases

XssThroughDomFlow

Taint-tracking configuration for reasoning about XSS through the DOM.