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

Module PathSanitizer

Provides classes and predicates to reason about sanitization of path injection vulnerabilities.

Import path

import semmle.code.java.security.PathSanitizer

Imports

java

Provides all default Java QL imports.

Classes

ExactPathMatchSanitizer

A sanitizer that protects against path injection vulnerabilities by checking for a matching path.

PathInjectionSanitizer

A sanitizer that protects against path injection vulnerabilities.