CodeQL library for Java
codeql/java-all 0.3.2 (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)