CodeQL library for Java/Kotlin
codeql/java-all 7.1.3-dev (changelog, source)
Search

Module CsrfUnprotectedRequestTypeQuery

Provides classes and predicates to reason about CSRF vulnerabilities due to use of unprotected HTTP request types.

Import path

import semmle.code.java.security.CsrfUnprotectedRequestTypeQuery

Imports

CallGraph

Provides classes and predicates representing call graph paths.

java

Provides all default Java QL imports.

Predicates

unprotectedStateChange

Holds if source is an unprotected request handler that may change an application’s state.

Classes

CsrfUnprotectedMethod

A method that is not protected from CSRF by default.

DatabaseUpdateMethod

A method that updates a database.

Modules

CallGraph

Provides classes and predicates representing call graph paths.