mirror of
https://github.com/github/codeql.git
synced 2026-02-28 21:03:50 +01:00
Java: Add PrintWriter.format as XSS sink.
This commit is contained in:
@@ -97,6 +97,7 @@ class WritingMethod extends Method {
|
||||
(
|
||||
this.getName().matches("print%") or
|
||||
this.getName() = "append" or
|
||||
this.getName() = "format" or
|
||||
this.getName() = "write"
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user