CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.13 (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.

Classes

Configuration

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

TypeTestGuard

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