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

Predicate isXssVulnerableContentType

Holds if s is an HTTP Content-Type vulnerable to XSS.

Import path

import semmle.code.java.security.XSS
predicate isXssVulnerableContentType(string s)