Skip to content

Commit 82f9826

Browse files
authored
Merge pull request github#4044 from aschackmull/java/xsssink-printwriter-format
Approved by aibaars
2 parents ed06604 + 2124662 commit 82f9826

File tree

1 file changed

+1
-0
lines changed
  • java/ql/src/semmle/code/java/security

1 file changed

+1
-0
lines changed

java/ql/src/semmle/code/java/security/XSS.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ class WritingMethod extends Method {
9797
(
9898
this.getName().matches("print%") or
9999
this.getName() = "append" or
100+
this.getName() = "format" or
100101
this.getName() = "write"
101102
)
102103
}

0 commit comments

Comments
 (0)