Java: Add PrintWriter.format as XSS sink.

This commit is contained in:
Anders Schack-Mulligen
2020-08-11 15:15:39 +02:00
parent 0476b97f63
commit 21246624b4

View File

@@ -97,6 +97,7 @@ class WritingMethod extends Method {
(
this.getName().matches("print%") or
this.getName() = "append" or
this.getName() = "format" or
this.getName() = "write"
)
}